to make it clear:
the text I push to resolve the class is the full name, in my case: "Public.Parser.JSON2.True".
I used to do this to get a program of an external class in c:
... push_text("Someclass"); SAFE_APPLY_MASTER("resolv", 1);
if (((struct svalue *)(Pike_sp - 1))->type != PIKE_T_PROGRAM) { Pike_error("Could not resolv program Someclass.\n"); } prog = ((struct svalue *)(Pike_sp - 1))->u.program; ...
However this does not work for me anymore when I try to resolv a
Class
that is defined inside the pmod that corresponds to the cmod (in my case in Public.Parser.JSON2 where Public.Parser.___JSON2 is the
cmod).