Open dcharkes opened 2 hours ago
@kingwill101 A possible work around would be to make a typedef for the function type in a separate header file, and add that header file to your FFIgen config, and use the typedef name as the type.
I believe I tried that approach and it didn't work. Will give it another shot
@dcharkes is there a way to do variadic arguments that are functions? trying to generate libcurl bindings
and a version of the function accepts a
Originally posted by @kingwill101 in https://github.com/dart-lang/native/issues/238#issuecomment-2439845973
@liamappelbe I suppose we don't support defining new types yet?
Now that we're starting to move into the visitor-world instead of yaml-config-world, could we conceivably add something for that?
@kingwill101 A possible work around would be to make a typedef for the function type in a separate header file, and add that header file to your FFIgen config, and use the typedef name as the type.