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

Remove various string functions from flisp and support functions from utf8.c #12762

Merged
merged 1 commit into from Aug 23, 2015

Conversation

ScottPJones
Copy link
Contributor

Removed from flisp interpreter: string.width, string.encode, string.decode, string.split,
char.upcase, char.downcase
Removed support functions in utf8.c no longer used after removal:
u8_codingsize, u8_unescape

/* convert a string with literal \uxxxx or \Uxxxxxxxx characters to UTF-8
example: u8_unescape(mybuf, 256, "hello\\u220e")
note the double backslash is needed if called on a C string literal */
size_t u8_unescape(char *buf, size_t sz, const char *src)
Copy link
Sponsor Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think there is an occurrence of this in utf8.h.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Argh! That's what happens when I code at 40,000 feet! (the change was still in my editor, unsaved, and the compiler doesn't complain).
Fixed now, and I saw another function (and declaration!) to remove.

(string.width, string.encode, string.decode, string.split,
 char.upcase, char.downcase)
Removed unused support functions in utf8.c and declarations in utf8.h
(u8_codingsize, u8_unescape, u8_is_locale_utf8)
JeffBezanson added a commit that referenced this pull request Aug 23, 2015
Remove various string functions from flisp and support functions from utf8.c
@JeffBezanson JeffBezanson merged commit 31dda80 into JuliaLang:master Aug 23, 2015
@ScottPJones ScottPJones deleted the spj/remstring branch August 23, 2015 01:04
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.

None yet

2 participants