@@ -152,7 +152,7 @@ private static function getMarshaler(string $name, callable $callback): ?Closure
152
152
?CData $ data
153
153
) use (&$ callback ): void {
154
154
assert ($ numberOfParams === 3 );
155
- /*
155
+ /**
156
156
* Signature: gint64(VipsSourceCustom* source, void* buffer, gint64 length, void* handle)
157
157
*/
158
158
$ bufferLength = (int )FFI ::gobject ()->g_value_get_int64 (\FFI ::addr ($ params [2 ]));
@@ -180,7 +180,7 @@ private static function getMarshaler(string $name, callable $callback): ?Closure
180
180
?CData $ data
181
181
) use (&$ callback ): void {
182
182
assert ($ numberOfParams === 3 );
183
- /*
183
+ /**
184
184
* Signature: gint64(VipsSourceCustom* source, gint64 offset, int whence, void* handle)
185
185
*/
186
186
$ offset = (int )FFI ::gobject ()->g_value_get_int64 (\FFI ::addr ($ params [1 ]));
@@ -201,7 +201,7 @@ private static function getMarshaler(string $name, callable $callback): ?Closure
201
201
?CData $ data
202
202
) use (&$ callback ): void {
203
203
assert ($ numberOfParams === 3 );
204
- /*
204
+ /**
205
205
* Signature: gint64(VipsTargetCustom* target, void* buffer, gint64 length, void* handle)
206
206
*/
207
207
$ bufferPointer = FFI ::gobject ()->g_value_get_pointer (\FFI ::addr ($ params [1 ]));
@@ -223,7 +223,7 @@ private static function getMarshaler(string $name, callable $callback): ?Closure
223
223
CData $ hint ,
224
224
?CData $ data
225
225
) use (&$ callback ): void {
226
- assert ($ numberOfParams === 0 );
226
+ assert ($ numberOfParams === 1 );
227
227
/**
228
228
* Signature: void(VipsTargetCustom* target, void* handle)
229
229
*/
0 commit comments