Ticket #1809 (closed deprecation: fixed)

Opened 11 years ago

Last modified 11 years ago

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

Changed 11 years ago by nwellnhof

  • status changed from new to assigned
  • milestone changed from 2.10 to 3.0

Branch nwellnhof/string_unescape contains some preliminary work.

Changed 11 years ago by nwellnhof

  • status changed from assigned to closed
  • resolution set to fixed

Removed the functions in commit b8b3c7db92.

Note: See TracTickets for help on using tickets.