Lines Matching refs:FFI
7 final class FFI class
9 public static function cdef(string $code = "", ?string $lib = null): FFI {}
11 public static function load(string $filename): ?FFI {}
13 public static function scope(string $name): FFI {}
15 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): …
18 public static function free(FFI\CData $ptr): void {}
21 * @param FFI\CData|int|float|bool|null $ptr
24 public static function cast(FFI\CType|string $type, $ptr): ?FFI\CData {}
26 public static function type(string $type): ?FFI\CType {}
29 public static function typeof(FFI\CData $ptr): FFI\CType {}
31 public static function arrayType(FFI\CType $type, array $dimensions): FFI\CType {}
34 public static function addr(FFI\CData $ptr): FFI\CData {}
37 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
40 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
43 * @param FFI\CData|string $from
47 public static function memcpy(FFI\CData $to, $from, int $size): void {}
51 * @param string|FFI\CData $ptr1
53 * @param string|FFI\CData $ptr2
58 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
61 public static function string(FFI\CData $ptr, ?int $size = null): string {}
64 public static function isNull(FFI\CData $ptr): bool {}
69 namespace FFI { namespace