Skip to content
This repository has been archived by the owner on Jun 9, 2018. It is now read-only.

Commit

Permalink
Parrot_find_global_s() is gone,
Browse files Browse the repository at this point in the history
  • Loading branch information
fperrad committed Aug 13, 2010
1 parent 8725e93 commit c71335e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dynext/pmc/luastring.pmc
Expand Up @@ -21,9 +21,11 @@ the Lua C<String> type.

PMC *
_LuaString_get_metatable(PARROT_INTERP) {
return Parrot_find_global_s(interp,
Parrot_str_new_constant(interp, "string"),
Parrot_str_new_constant(interp, "mt_string"));
PMC * const hll_ns = Parrot_get_ctx_HLL_namespace(interp);
PMC * const ns = Parrot_ns_get_namespace_keyed_str(interp,
hll_ns, Parrot_str_new_constant(interp, "string"));
return Parrot_ns_find_namespace_global(interp,
ns, Parrot_str_new_constant(interp, "mt_string"));
}


Expand Down

0 comments on commit c71335e

Please sign in to comment.