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

Support global variables in plugins #12

Open
taminob opened this issue Apr 5, 2024 · 0 comments
Open

Support global variables in plugins #12

taminob opened this issue Apr 5, 2024 · 0 comments
Labels
C Related to C plugin C++ Related to C++ plugin enhancement New feature or request Lua Related to Lua plugin python Related to python plugin

Comments

@taminob
Copy link
Owner

taminob commented Apr 5, 2024

Allow a user to access global variables by name for read and write access.

For C and C++ plugins, the symbols have to exist in the shared library beforehand with the correct type.
Lua and Python should also be able to create new, previously undefined variables.

The following types should be supported:

  • bool
  • int / long / long long (+unsigned)
  • double / float
  • std::string
  • function (handling of return and parameter types needs further evaluation for Lua/Python)
@taminob taminob added enhancement New feature or request python Related to python plugin C Related to C plugin C++ Related to C++ plugin Lua Related to Lua plugin labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C Related to C plugin C++ Related to C++ plugin enhancement New feature or request Lua Related to Lua plugin python Related to python plugin
Projects
None yet
Development

No branches or pull requests

1 participant