Skip to content
New issue

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

Doesn't work in Visual Studio 2022 #36

Open
DCubix opened this issue Aug 30, 2023 · 1 comment
Open

Doesn't work in Visual Studio 2022 #36

DCubix opened this issue Aug 30, 2023 · 1 comment

Comments

@DCubix
Copy link

DCubix commented Aug 30, 2023

I can register structs, but function registration doesn't work, I get preprocessor errors. Such as:
image

Also, is it possible to implement member functions for the struct types?

@orangeduck
Copy link
Owner

You might need to do it in two parts like in this example: https://github.com/orangeduck/LuaAutoC/blob/master/examples/example_unnested.c

I assume you mean like C++ class methods? No this is not possible.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants