Pyh.conf’25: a new PHP conference for the Russian-speaking community

Voting

: max(six, two)?
(Example: nine)

The Note You're Voting On

derrekbertrand at gmail dot com
5 years ago
You'll probably want to add a C header file, but as of the current version preprocessor directives do not work... so what do? On systems with GCC run the file through this command:

cpp -P /usr/include/unprocessedheader.h -o myprettyheader.h

Note that because preprocessing is not suppored in FFI, C/C++ macros are not supported either. You'll probably still have to write a small wrapper in C unless your library has an exceedingly simple public API.

<< Back to user notes page

To Top