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

Fix issues with Lua preprocessor of call-in files #41

Merged
merged 1 commit into from
Aug 2, 2024

Conversation

berwynhoyt
Copy link
Collaborator

  • Lua now permits all the types that yottadb permits; notably the ones not beginning with ydb_
  • Change in call-in file preprocessor:
    • now auto-converts illegal non-pointer return types to pointer-types
    • no longer substitutes ydb types within function and routine names (e.g. previously func/routines named my_ydb_string_t could bechanged to my_ydb_buffer_t. This is more important now that int is handled properly as a valid type
    • add optional debug parameter to yottadb.require() to make for easier call-in file problem solving. Document it.
  • Updated documentation in examples/arithmetic.ci to match these changes.

@berwynhoyt berwynhoyt force-pushed the fix_callin_preprocessor branch from 3757bbd to 6e0974f Compare August 2, 2024 10:54
- Lua now permits all the types that yottadb permits; notably the ones not beginning with `ydb_`
- Change in call-in file preprocessor:
  - now auto-converts illegal non-pointer return types to pointer-types
  - no longer substitutes ydb types within function and routine names (e.g. previously func/routines named my_ydb_string_t could bechanged to my_ydb_buffer_t. This is more important now that `int` is handled properly as a valid type
  - add optional `debug` parameter to `yottadb.require()` to make for easier call-in file problem solving. Document it.
- Updated documentation in examples/arithmetic.ci to match these changes.
@berwynhoyt berwynhoyt force-pushed the fix_callin_preprocessor branch from 6e0974f to b9f2dcd Compare August 2, 2024 11:02
@berwynhoyt berwynhoyt merged commit 47c77ed into anet-be:master Aug 2, 2024
5 checks passed
@berwynhoyt berwynhoyt deleted the fix_callin_preprocessor branch August 2, 2024 11:03
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

Successfully merging this pull request may close these issues.

1 participant