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

[JVPP-9] Do not inline JNI object creation inside message handlers #15

Open
vvalderrv opened this issue Jan 3, 2025 · 0 comments
Open

Comments

@vvalderrv
Copy link
Contributor

In order to simplify JNI generator, initializing functions for arrays needs to be generated.

 

For custom types (Class, Enum, Union), consider hiding swap functions inside constructors

to reduce size of generated message handlers.

 

Currently object is first created and then the _net_to_host_XXX function is called.
The function actually does the intialization, so perhaps init would be better name than swap.

 

Another reason are Enums, which need to know endianess when created.

 

 

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