#676: Fix namespace pollution
----------------------+-----------------------------------------------------
Reporter: Infinoid | Owner:
Type: todo | Status: new
Priority: normal | Milestone:
Component: none | Version: 1.1.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: |
----------------------+-----------------------------------------------------
This is the trac equivalent of RTs #40059 and #40060.
There are many global symbols we're exporting which don't have a "Parrot_"
prefix. This list might vary a bit depending on OS and platform, but I'll
attach my current list. By my count, there are currently 182 functions
and 1 variable (PMCNULL) exported by default.
I think the idea is that these functions should be renamed from "funcname"
to "Parrot_funcname", and some #defines should be left behind (inside an
#ifdef PARROT_IN_CORE) so we don't need to fix up all the callers (and
therefore, don't need a deprecation cycle).
I think it would be a good idea to make headerizer do this for us.
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/676>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets