Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Conversation

@dcat52
Copy link

@dcat52 dcat52 commented Feb 28, 2022

I would like to propose the following implementation changes to BuzzTableOpen and BuzzTableOpenNested.

  • Addition of an optional parameter make_if_not_exist to specify whether the table should be created if it does not already exist and have it default to true for backwards compatibility.
  • Change return type from void to bool to notify the user if the table open was successful.

Example Usage:

bool success;

success = BuzzTableOpen(t_vm, "tbl", false);
if(!success)
    return;
success = BuzzTableOpenNested(t_vm, "A", false);
if(!success)
    return;

  Fixes table Get operations previously created tables and sub tables without option to not
@dcat52 dcat52 force-pushed the dcat52/modify_BuzzTableOpen branch from b01b2f1 to 2104cf1 Compare March 8, 2022 18:09
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.