File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -19,9 +19,14 @@ public static function load(string $filename): ?FFI
19
19
public static function scope (string $ name ): FFI
20
20
{
21
21
}
22
+ #[\Until('8.4 ' )]
22
23
public static function new (FFI \CType |string $ type , bool $ owned = true , bool $ persistent = false ): ?FFI \CData
23
24
{
24
25
}
26
+ #[\Since('8.4 ' )]
27
+ public static function new (FFI \CType |string $ type , bool $ owned = true , bool $ persistent = false ): FFI \CData
28
+ {
29
+ }
25
30
/** @prefer-ref $ptr */
26
31
public static function free (FFI \CData $ ptr ): void
27
32
{
@@ -30,12 +35,26 @@ public static function free(FFI\CData $ptr): void
30
35
* @param FFI\CData|int|float|bool|null $ptr
31
36
* @prefer-ref $ptr
32
37
*/
38
+ #[\Until('8.4 ' )]
33
39
public static function cast (FFI \CType |string $ type , $ ptr ): ?FFI \CData
34
40
{
35
41
}
42
+ /**
43
+ * @param FFI\CData|int|float|bool|null $ptr
44
+ * @prefer-ref $ptr
45
+ */
46
+ #[\Since('8.4 ' )]
47
+ public static function cast (FFI \CType |string $ type , $ ptr ): FFI \CData
48
+ {
49
+ }
50
+ #[\Until('8.4 ' )]
36
51
public static function type (string $ type ): ?FFI \CType
37
52
{
38
53
}
54
+ #[\Since('8.4 ' )]
55
+ public static function type (string $ type ): FFI \CType
56
+ {
57
+ }
39
58
/** @prefer-ref $ptr */
40
59
public static function typeof (FFI \CData $ ptr ): FFI \CType
41
60
{
You can’t perform that action at this time.
0 commit comments