Hello!

In my program code I have the following lines:

  /* get properties */
  PMC *context_pmc = $3->vtable->getprop(interpreter, $3,
                     string_from_cstring(interpreter, "context", 7));

  INTVAL i_type = context_pmc->vtable->type(interpreter, context_pmc);


This works fine, if I set the property "context" for the PMC in the
pasm-program.

If I don't set the property, the pasm-program stops with the message:
Null PMC access in type()
current instr.: '(null)' pc 45 (pcre_prop.pasm:33)

I what to find out in my program first, if the property is realy set,
but I don't know how to do that.

Best regards
Gerd Pokorra


Reply via email to