8000 Add support for defaults and make release actually release by aks · Pull Request #1 · aks/thread_local_var_accessors · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add support for defaults and make release actually release #1

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

Merged
merged 1 commit into from
May 26, 2023

Conversation

aks
Copy link
Owner
@aks aks commented May 26, 2023

This PR adds support for default values to TLV accessors.

The PR was motivated by a client of this gem dealing with multiple threads and wanting to be able to have a non-nil default applied across all the threads until a specific value is assigned within each thread.

2023-05-04: Version 1.0.0

  • added support for default values:
    • renamed tlv_new to tlv_init (leaving tlv_new as an alias)
    • added new instance methods: tlv_default, tlv_set_default
    • updated docs to explain how defaults are cross-threads
  • updated the README.md

@aks aks self-assigned this May 26, 2023
@aks aks changed the title make release actually release Add support for defaults and make release actually release May 26, 2023
@aks aks merged commit 0e186df into main May 26, 2023
@aks aks deleted the aks/add-default-support branch May 26, 2023 01:10
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
0