You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can't guess what is wrong in your code, if you don't show it. In the following example the assignment works without problems. (I hope, you use ext/ffi bundled into PHP-7.4 or above. This git repo is outdated).
Hi, i am trying to call IUP toolkit lib click_cb callback function which has following def
typedef int (*IFnii)(Ihandle*, int, int);
in php
Fatal error: Uncaught FFI\Exception: Attempt to assign an invalid callback, insufficient number of arguments
The text was updated successfully, but these errors were encountered: