|
static | cdef (string $code="", ?string $lib=null) |
|
static | load (string $filename) |
|
static | scope (string $name) |
|
static | new (FFI\CType|string $type, bool $owned=true, bool $persistent=false) |
|
static | free (FFI\CData $ptr) |
|
static | cast (FFI\CType|string $type, $ptr) |
|
static | type (string $type) |
|
static | typeof (FFI\CData $ptr) |
|
static | arrayType (FFI\CType $type, array $dimensions) |
|
static | addr (FFI\CData $ptr) |
|
static | sizeof (FFI\CData|FFI\CType $ptr) |
|
static | alignof (FFI\CData|FFI\CType $ptr) |
|
static | memcpy (FFI\CData $to, $from, int $size) |
|
static | memcmp ($ptr1, $ptr2, int $size) |
|
static | memset (FFI\CData $ptr, int $value, int $size) |
|
static | string (FFI\CData $ptr, ?int $size=null) |
|
static | isNull (FFI\CData $ptr) |
|
@not-serializable
Definition at line 7 of file ffi.stub.php.
◆ addr()
◆ alignof()
◆ arrayType()
static FFI::arrayType |
( |
FFI\CType | $type, |
|
|
array | $dimensions ) |
|
static |
◆ cast()
static FFI::cast |
( |
FFI\CType|string | $type, |
|
|
| $ptr ) |
|
static |
- Parameters
-
FFI\CData | int | float | bool | null | $ptr | @prefer-ref $ptr |
Definition at line 27 of file ffi.stub.php.
◆ cdef()
static FFI::cdef |
( |
string | $code = "", |
|
|
?string | $lib = null ) |
|
static |
◆ free()
◆ isNull()
◆ load()
static FFI::load |
( |
string | $filename | ) |
|
|
static |
◆ memcmp()
static FFI::memcmp |
( |
| $ptr1, |
|
|
| $ptr2, |
|
|
int | $size ) |
|
static |
@prefer-ref $ptr1
- Parameters
-
string | FFI\CData | $ptr1 | @prefer-ref $ptr2 |
string | FFI\CData | $ptr2 | |
Definition at line 58 of file ffi.stub.php.
◆ memcpy()
static FFI::memcpy |
( |
FFI\CData | $to, |
|
|
| $from, |
|
|
int | $size ) |
|
static |
- Parameters
-
FFI\CData | string | $from | @prefer-ref $to @prefer-ref $from |
Definition at line 50 of file ffi.stub.php.
◆ memset()
static FFI::memset |
( |
FFI\CData | $ptr, |
|
|
int | $value, |
|
|
int | $size ) |
|
static |
◆ new()
static FFI::new |
( |
FFI\CType|string | $type, |
|
|
bool | $owned = true, |
|
|
bool | $persistent = false ) |
|
static |
◆ scope()
static FFI::scope |
( |
string | $name | ) |
|
|
static |
◆ sizeof()
◆ string()
static FFI::string |
( |
FFI\CData | $ptr, |
|
|
?int | $size = null ) |
|
static |
◆ type()
static FFI::type |
( |
string | $type | ) |
|
|
static |
◆ typeof()
◆ __BIGGEST_ALIGNMENT__
const int FFI::__BIGGEST_ALIGNMENT__ = UNKNOWN |
The documentation for this class was generated from the following file: