Last active
September 16, 2019 07:13
-
-
Save swilly22/212d33a86d0bdd15933762c5985b8ba1 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
SIValue toUpper(SIValue v) { | |
SIType actual_type = SI_TYPE(v); | |
if(actual_type != SI_STRING) { | |
const char *actual_type_str = SIType_ToString(actual_type); | |
raise("Type mismatch: expected string but was %s", actual_type_str); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment