Lines Matching refs:FFI
8 final class FFI class
17 public static function cdef(string $code = "", ?string $lib = null): FFI {}
19 public static function load(string $filename): ?FFI {}
21 public static function scope(string $name): FFI {}
23 …public static function new(FFI\CType|string $type, bool $owned = true, bool $persistent = false): …
26 public static function free(FFI\CData $ptr): void {}
29 * @param FFI\CData|int|float|bool|null $ptr
32 public static function cast(FFI\CType|string $type, $ptr): ?FFI\CData {}
34 public static function type(string $type): ?FFI\CType {}
37 public static function typeof(FFI\CData $ptr): FFI\CType {}
39 public static function arrayType(FFI\CType $type, array $dimensions): FFI\CType {}
42 public static function addr(FFI\CData $ptr): FFI\CData {}
45 public static function sizeof(FFI\CData|FFI\CType $ptr): int {}
48 public static function alignof(FFI\CData|FFI\CType $ptr): int {}
51 * @param FFI\CData|string $from
55 public static function memcpy(FFI\CData $to, $from, int $size): void {}
59 * @param string|FFI\CData $ptr1
61 * @param string|FFI\CData $ptr2
66 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
69 public static function string(FFI\CData $ptr, ?int $size = null): string {}
72 public static function isNull(FFI\CData $ptr): bool {}
77 namespace FFI { namespace