Lines Matching refs:FFI
8 final class FFI class
10 public static function cdef(string $code = "", ?string $lib = null): FFI {}
12 public static function load(string $filename): ?FFI {}
14 public static function scope(string $name): FFI {}
16 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): …
19 public static function free(FFI\CData $ptr): void {}
22 * @param FFI\CData|int|float|bool|null $ptr
25 public static function cast(FFI\CType|string $type, $ptr): ?FFI\CData {}
27 public static function type(string $type): ?FFI\CType {}
30 public static function typeof(FFI\CData $ptr): FFI\CType {}
32 public static function arrayType(FFI\CType $type, array $dimensions): FFI\CType {}
35 public static function addr(FFI\CData $ptr): FFI\CData {}
38 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
41 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
44 * @param FFI\CData|string $from
48 public static function memcpy(FFI\CData $to, $from, int $size): void {}
52 * @param string|FFI\CData $ptr1
54 * @param string|FFI\CData $ptr2
59 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
62 public static function string(FFI\CData $ptr, ?int $size = null): string {}
65 public static function isNull(FFI\CData $ptr): bool {}
70 namespace FFI { namespace