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

Converted $ macro to use variadic arguments. Added set: and mset: prefixes #2

Open
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

samgreen
Copy link

First off, awesome wizardry using the runtime and the new autoboxing to make this library. Really impressive!

I converted the $ macro to use __VA_ARGS__ to allow as many arguments as you'd like to the function. This was necessary for the set changes I added, otherwise the comma in the set object list confuses the compiler in to thinking it is a second parameter to the function.

Also added tests for these new items, as well as stringized tests to ensure they will be equivalent. We might want to move the code to the base block for cleaning stringized items. Open to feedback on this.

@dbachrach
Copy link
Owner

Awesome! Will take a deeper look and merge this in soon.

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.

2 participants