File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Expand file tree Collapse file tree 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
1919 public static function scope (string $ name ): FFI
2020 {
2121 }
22+ #[\Until('8.4 ' )]
2223 public static function new (FFI \CType |string $ type , bool $ owned = true , bool $ persistent = false ): ?FFI \CData
2324 {
2425 }
26+ #[\Since('8.4 ' )]
27+ public static function new (FFI \CType |string $ type , bool $ owned = true , bool $ persistent = false ): FFI \CData
28+ {
29+ }
2530 /** @prefer-ref $ptr */
2631 public static function free (FFI \CData $ ptr ): void
2732 {
@@ -30,12 +35,26 @@ public static function free(FFI\CData $ptr): void
3035 * @param FFI\CData|int|float|bool|null $ptr
3136 * @prefer-ref $ptr
3237 */
38+ #[\Until('8.4 ' )]
3339 public static function cast (FFI \CType |string $ type , $ ptr ): ?FFI \CData
3440 {
3541 }
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 ' )]
3651 public static function type (string $ type ): ?FFI \CType
3752 {
3853 }
54+ #[\Since('8.4 ' )]
55+ public static function type (string $ type ): FFI \CType
56+ {
57+ }
3958 /** @prefer-ref $ptr */
4059 public static function typeof (FFI \CData $ ptr ): FFI \CType
4160 {
You can’t perform that action at this time.
0 commit comments