-
-
Notifications
You must be signed in to change notification settings - Fork 20
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
Should object_make_string
check for NULL input string?
#10
Comments
Hi, I will add this next time I change something in ape, for now please add null checks in you code :) Mind if I ask what are using ape for? And what do you find good or bad in it so far? |
I'm currently using it to wrap my C framework so I could prototype 2D and 3D programs faster. Work in progress. :) |
I only miss C-like |
Just thought I guess one can emulate enums with code like this for now. :)
|
Released! 🎉
|
(Game Script also includes my profile library, so it'll be super easy now to profile Ape's perf!) |
Fantastic work! Have you considered open sourcing the code? |
Thank you!
No, not really, at least not for now. |
I really like the idea of enums built into the language, perhaps a switch statement too, with simple checks for each case |
Currently, I get a crash at
ape/ape.c
Lines 10208 to 10209 in d4a0c5c
NULL
to the string parameter, andstrlen
crashes onNULL
input on Ubuntu 16.04, should this part of code maybe do a checkto handle non-expected
NULL
gracefully without crashing? :)Thanks! Ape is great, I'm having a blast with it!
The text was updated successfully, but these errors were encountered: