pike.git/
lib/
master.pike.in
Branch:
Tag:
Non-build tags
All tags
No tags
1999-04-30
1999-04-30 06:53:54 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>
2f6176ea17e7b00eb73d05847b137f683a3c0aff (
9
lines) (+
5
/-
4
)
[
Show
|
Annotate
]
Branch:
7.9
Changed to provide for overloading. (Used by YumeMUD)
Rev: lib/master.pike.in:1.47
1:
-
/* $Id: master.pike.in,v 1.
46
1999/04/
09
04
:
46
:
16
hubbe Exp $
+
/* $Id: master.pike.in,v 1.
47
1999/04/
30
06
:
53
:
54
hubbe Exp $
* * Master-file for Pike. *
461:
if(mixed tmp=o->_module_value) o=tmp; return o; }
-
return
(
program
)
index;
+
return
cast_to_program
(
index,0
);
} object|program `[](string index)
1206:
object objectof(string x) { if(sscanf(x,"efun:%s",x)) return f[x];
-
return
(
object
)
x;
+
return
cast_to_object
(
x,0
);
} program programof(string x) { if(sscanf(x,"efun:%s",x)) return f[x];
-
return
(
program
)
x;
+
return
cast_to_program
(
x,0
);
} mixed encode_object(object x)