We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A typedef for a pointer to an opaque struct results in invalid ruby being generated.
Given the following C code:
typedef struct opaque_struct* opaque_pointer; opaque_pointer func(void);
ffi-swig-generator outputs the following ruby:
attach_function :func, :func, [ ], :opaque_pointer
The line defining the :opaque_pointer as a :pointer is missing. The output should be as follows:
:opaque_pointer
:pointer
typedef :pointer, :opaque_pointer attach_function :func, :func, [ ], :opaque_pointer
The text was updated successfully, but these errors were encountered:
eaa7c00
No branches or pull requests
A typedef for a pointer to an opaque struct results in invalid ruby being generated.
Given the following C code:
ffi-swig-generator outputs the following ruby:
The line defining the
:opaque_pointer
as a:pointer
is missing. The output should be as follows:The text was updated successfully, but these errors were encountered: