Ticket #343 (closed patch: done)
[patch] forward declare core types (pmc, string, interpreter) to avoid using different declarations in core and extensions
Reported by: | NotFound | Owned by: | NotFound |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | core | Version: | |
Severity: | high | Keywords: | |
Cc: | Language: | ||
Patch status: | applied | Platform: | all |
Description
This patch adds a header file to forward declare string, pmc and interpreter types to avoid the use of different declarations in core and in extensions/embedding, allowing better type checking by C and C++ compilers. Also moves Parrot_compile_string to embed.h as suggested in the embed draft pdd.
This change will allow embedding without including inappropriate headers or fake PARROT_IN_CORE defines.
Attachments
Change History
Note: See
TracTickets for help on using
tickets.