On Sun, Jun 10, 2007 at 01:55:03PM +0000, Martin Stjernholm, Roxen IS @ Pike developers forum wrote:
You mean .pmod vs .pike files? Looking in the objects mapping in the master should be a fairly reliable to tell whether something is a module.
it looks easy, but i can't get it to work:
master()->objects[Stdio];
(25) Result: 0
master()->objects[object_program(Stdio)];
(26) Result: 0
master()->objects[_typeof(Stdio)];
(29) Result: 0
master()->objects[typeof(Stdio)];
(30) Result: 0
master()->objects[master()->describe_module(Stdio)];
(31) Result: 0
master()->objects[object_program(Stdio)]; should have done the trick. i am puzzled why that does not work.
greetings, martin.