php教程

FFI::load

(PHP 7 >= 7.4.0)

FFI::loadLoads C declarations from a C header file

说明

public static FFI::load ( string $filename ) : FFI

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.

Note:

C preprocessor directives are not supported, i.e. #include, #define and CPP macros do not work.

返回值

Returns the freshly created FFI object.

User Contributed Notes

There are no user contributed notes for this page.

CopyRight © 2008-2022 verySource.Com All Rights reserved. 京ICP备17048824号-1 京公网安备:11010502034788