#1496: Parrot_String-related functions are only available from parrot/parrot.h
----------------------+-----------------------------------------------------
Reporter: dukeleto | Owner:
Type: bug | Status: new
Priority: major | Milestone:
Component: core | Version: 2.1.0
Severity: medium | Keywords:
Lang: | Patch:
Platform: all |
----------------------+-----------------------------------------------------
As reported by Joshua Tolley:
{{{
I'm calling Parrot_compile_string(), which as one
of its arguments takes a pointer to a Parrot_String object, where
apparently
it puts error messages should the string I'm compiling happen not to
compile.
Presumably in order to test the resulting string for NULL, convert it to a
C
string, etc., I should use the stuff declared in string_funcs.h. The
problem
is that everything in string_funcs.h is defined only if PARROT_IN_CORE is
defined. PARROT_IN_CORE, in turn, is defined only if I include parrot.h
}}}
Since only parrot internals should include parrot/parrot.h, these
functions need to be made available from parrot/embed.h and
parrot/extend.h
--
Ticket URL: <https://trac.parrot.org/parrot/ticket/1496>
Parrot <https://trac.parrot.org/parrot/>
Parrot Development
_______________________________________________
parrot-tickets mailing list
[email protected]
http://lists.parrot.org/mailman/listinfo/parrot-tickets