Next: , Previous: , Up: Common Scheme Functions   [Contents][Index]


3.5.58 string->c-name! - map non-name chars to underscore

Usage: (string->c-name! str)
Change all the graphic characters that are invalid in a C name token into underscores. Whitespace characters are ignored. Any other character type (i.e. non-graphic and non-white) will cause a failure.

Arguments:
str - input/output string