pike.git/
src/
svalue.h
Branch:
Tag:
Non-build tags
All tags
No tags
2021-11-27
2021-11-27 12:00:31 by Henrik Grubbström (Grubba) <grubba@grubba.org>
92a3918abc0e17d505c77b625ce3375c78ad279d (
4
lines) (+
4
/-
0
)
[
Show
|
Annotate
]
Branch:
master
Compiler
[Typechecker]
: Add type operator get_return.
156:
*/ PIKE_T_OPERATOR = 0x0080, PIKE_T_FIND_LFUN = 0x0180, /* Look up an lfun in an object type. */
+
PIKE_T_GET_RETURN = 0x0280, /* Get the return type for a function. */
+
PIKE_T_SET_CAR = 0x8280, /* Set the CAR of the CAR type to CDR. */ PIKE_T_SET_CDR = 0x8380, /* Set the CDR of the CAR type to CDR. */
405:
#define tDeprecated(X) tAttr("deprecated", X) #define tUtf8Str tAttr("utf8", tStr8)
+
#define tGetReturn(X) "\200\002" X
#define tFindLFun(X, LFUN) "\200\001" X LFUN "\0" #define tSetCar(X, Y) "\200\202" X Y #define tSetCdr(X, Y) "\200\203" X Y