Ticket #455 (closed todo: fixed)
[TODO] Change name of 'Parrot_add_library_path' to 'Parrot_pf_add_library_path_from_cstring'
Reported by: | allison | Owned by: | jkeenan |
---|---|---|---|
Priority: | normal | Milestone: | 1.3 |
Component: | none | Version: | |
Severity: | medium | Keywords: | |
Cc: | jkeenan | Language: | |
Patch status: | applied | Platform: |
Description
The function 'Parrot_add_library_path' in src/library.c will be renamed to 'Parrot_lib_add_path_from_cstring'. A new function 'Parrot_lib_add_path' will be added that accepts a Parrot STRING.
The C string version will simply convert the C string to a Parrot STRING and call 'Parrot_lib_add_path'. (Currently, the first thing the C string version does is convert the C string to a Parrot STRING. It's a waste to have opcodes converting STRINGs to C strings, only to be immediately converted back to STRINGS.)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.