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

Add support for container data type transferring #243

Open
HaronK opened this issue May 10, 2024 · 0 comments
Open

Add support for container data type transferring #243

HaronK opened this issue May 10, 2024 · 0 comments

Comments

@HaronK
Copy link
Contributor

HaronK commented May 10, 2024

Add support containers transferring between Lua and Rust.
Idea:

  1. For the copyable types (in Lua context, i.e. integers; Vec3 won't work) generate wrappers with element indexing ([i]).
  2. For the cloneable types generate wrappers with get_copy/set methods.

Update proc macro to automatically generate vector wrappers for custom types and separate macro for copyable ones (integers, floats, etc.)

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

1 participant