Lines Matching refs:FFI
7 final class FFI class
15 public static function cdef(string $code = "", ?string $lib = null): FFI {}
17 public static function load(string $filename): ?FFI {}
19 public static function scope(string $name): FFI {}
21 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): …
24 public static function free(FFI\CData $ptr): void {}
27 * @param FFI\CData|int|float|bool|null $ptr
30 public static function cast(FFI\CType|string $type, $ptr): ?FFI\CData {}
32 public static function type(string $type): ?FFI\CType {}
35 public static function typeof(FFI\CData $ptr): FFI\CType {}
37 public static function arrayType(FFI\CType $type, array $dimensions): FFI\CType {}
40 public static function addr(FFI\CData $ptr): FFI\CData {}
43 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
46 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
49 * @param FFI\CData|string $from
53 public static function memcpy(FFI\CData $to, $from, int $size): void {}
57 * @param string|FFI\CData $ptr1
59 * @param string|FFI\CData $ptr2
64 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
67 public static function string(FFI\CData $ptr, ?int $size = null): string {}
70 public static function isNull(FFI\CData $ptr): bool {}
75 namespace FFI { namespace