Ticket #1809 (closed deprecation: fixed)
Remaining string_* functions are deprecated
Reported by: | nwellnhof | Owned by: | nwellnhof |
---|---|---|---|
Priority: | normal | Milestone: | 3.0 |
Component: | core | Version: | 2.8.0 |
Severity: | medium | Keywords: | |
Cc: | Language: | ||
Patch status: | Platform: |
Description
The string_* functions have been deprecated for a while. The remaining functions are:
string_make string_ord string_chr string_to_cstring_nullable string_max_bytes string_increment
string_make should be replaced with Parrot_str_new_init. You can use Parrot_find_encoding to get an encoding from a cstring.
Replace string_ord with Parrot_str_indexed.
Replace string_chr with Parrot_str_chr.
Replace string_to_cstring_nullable with Parrot_str_to_cstring.
string_max_bytes and string_increment will be removed.
Change History
Note: See
TracTickets for help on using
tickets.