Ticket #1906 (new deprecation)
[DEPRECATED] Passing non-const STRING* is deprecated.
| Reported by: | bacek | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | 3.9 |
| Component: | core | Version: | master |
| Severity: | high | Keywords: | |
| Cc: | Language: | ||
| Patch status: | Platform: |
Description
Hello.
All [*] functions currently accepting naked STRING* argument will accept const STRING*. Which includes public-facing API functions, VTABLEs, etc.
This is for making parrot const-correct in immutable-string world.
(Actual milestone should be 3.3)
-- Bacek.
[*] Parrot_str_pin and Parrot_str_unpin will stay in current form.
Change History
Note: See
TracTickets for help on using
tickets.
