I've got some code that generates pike program structs dynamically, and I was wondering if anyone could explain the mechanism that gives C-level programs their names when viewed from pike. For instance:
object x = foo.MyProgram
object_program(x);
(6) Result: dynamic_class.m:936
Where foo is a module which has `[] overloaded to generate c-api classes on demand. I assume that an entry would normally be created somewhere in the master, however because I'm bypassing all of that machinery, the necessary entries aren't being created. I assume that I should go back and create them, correct? If so, which tables really need to be populated?
Bill
pike-devel@lists.lysator.liu.se