Lines Matching refs:FFI
7 final class FFI class
12 public static function cdef(string $code = "", ?string $lib = null): FFI {}
14 public static function load(string $filename): ?FFI {}
16 public static function scope(string $name): FFI {}
18 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): …
21 public static function free(FFI\CData $ptr): void {}
24 * @param FFI\CData|int|float|bool|null $ptr
27 public static function cast(FFI\CType|string $type, $ptr): FFI\CData {}
29 public static function type(string $type): FFI\CType {}
32 public static function typeof(FFI\CData $ptr): FFI\CType {}
34 public static function arrayType(FFI\CType $type, array $dimensions): FFI\CType {}
37 public static function addr(FFI\CData $ptr): FFI\CData {}
40 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
43 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
46 * @param FFI\CData|string $from
50 public static function memcpy(FFI\CData $to, $from, int $size): void {}
54 * @param string|FFI\CData $ptr1
56 * @param string|FFI\CData $ptr2
61 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
64 public static function string(FFI\CData $ptr, ?int $size = null): string {}
67 public static function isNull(FFI\CData $ptr): bool {}
72 namespace FFI { namespace