Author: jhorwitz
Date: Wed Dec 19 15:32:29 2007
New Revision: 282
Modified:
mod_parrot/trunk/src/context.c
Log:
use string_from_literal where appropriate
Modified: mod_parrot/trunk/src/context.c
==============================================================================
--- mod_parrot/trunk/src/context.c (original)
+++ mod_parrot/trunk/src/context.c Wed Dec 19 15:32:29 2007
@@ -105,8 +105,8 @@
Parrot_PMC_set_pointer(interp, p, ctx);
Parrot_store_global_s(
interp,
- MAKE_PARROT_STRING("_modparrot"),
- MAKE_PARROT_STRING("__context"),
+ string_from_literal(interp, "_modparrot"),
+ string_from_literal(interp, "__context"),
p
);
@@ -120,8 +120,8 @@
p = Parrot_find_global_s(
interp,
- MAKE_PARROT_STRING("_modparrot"),
- MAKE_PARROT_STRING("__context")
+ string_from_literal(interp, "_modparrot"),
+ string_from_literal(interp, "__context")
);
if (p) {
ctx = Parrot_PMC_get_pointer(interp, p);
lmpx.com only provides a reader for public news (NNTP) servers. It is not
affiliated with the servers or forums shown here and is not responsible for
the content of articles, which is written by their respective authors.