FFI::load
(PHP 7 >= 7.4.0)
FFI::load — Loads C declarations from a C header file
説明
Loads C declarations from a C header file. It is possible to specify shared libraries that should be loaded, using special FFI_LIB defines in the loaded C header file.
パラメータ
-
filename -
The name of a C header file.
注意:
C preprocessor directives are not supported, i.e.
#include,#defineand CPP macros do not work.
返り値
Returns the freshly created FFI object.