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
dlcall -n window -r pointer gtk_application_window_new $app requires specifying the return type.
Is there anything preventing the implementation of a declare_function builtin, such that declare_function gtk_application_window_new pointer pointer would inform ctypes.sh
about the return type (and the types of the parameters for where this changes the ABI),
and such that a later dlcall with no type specified for a function with that name would
use this information?
additionally, this would make it possible to ship the equivalent of header files for libc,
so that calling functions from the standard library never requires specifying the type.
The text was updated successfully, but these errors were encountered:
dlcall -n window -r pointer gtk_application_window_new $app
requires specifying the return type.Is there anything preventing the implementation of a
declare_function
builtin, such thatdeclare_function gtk_application_window_new pointer pointer
would inform ctypes.shabout the return type (and the types of the parameters for where this changes the ABI),
and such that a later
dlcall
with no type specified for a function with that name woulduse this information?
additionally, this would make it possible to ship the equivalent of header files for libc,
so that calling functions from the standard library never requires specifying the type.
The text was updated successfully, but these errors were encountered: