LuaAutoC icon indicating copy to clipboard operation
LuaAutoC copied to clipboard

Doesn't work in Visual Studio 2022

Open DCubix opened this issue 2 years ago • 1 comments

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?

DCubix avatar Aug 30 '23 15:08 DCubix

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.

orangeduck avatar Aug 31 '23 01:08 orangeduck