pike.git
/
src
/
svalue.h
version
»
Context lines:
10
20
40
80
file
none
3
pike.git/src/svalue.h:161:
PIKE_T_GET_RETURN = 0x0280, /* Get the return type for a function. */ PIKE_T_APPLY = 0x8180, /* Apply a function with a single argument. */ 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. */ PIKE_T_INT_OP_SUB = 0xc080, /* INT OP `-. */ PIKE_T_INT_OP_AND = 0xc180, /* INT OP `&. */ PIKE_T_INT_OP_XOR = 0xc280, /* INT OP `^. */ PIKE_T_INT_OP_RANGE = 0xc380, /* int(min(car) .. max(cdr)) */
+
PIKE_T_INT_OP_MUL = 0xc480, /* INT OP `*. */
PIKE_T_TRANSITIVE = 0x00c0, /* Repeatedly apply a function type. */ /* * The following types are only used in compile-time types and * as markers in struct identifier. */ PIKE_T_LARRAY = 236, /* Limited array. Only for serialization. */ PIKE_T_LSTRING = 237, /* Limited string. Only for serialization. */
pike.git/src/svalue.h:438:
#define tNegateInt(X) tSubInt(tInt0, X) #define tAddInt(X, Y) tSubInt(X, tNegateInt(Y)) #define tInvertInt(X) tSubInt(tInt_1, X) #define tAndInt(X, Y) "\200\301" X Y #define tOrInt(X, Y) tInvertInt(tAndInt(tInvertInt(X), tInvertInt(Y))) #define tXorInt(X, Y) "\200\302" X Y #define tRangeInt(X, Y) "\200\303" X Y
+
#define tMulInt(X, Y) "\200\304" X Y
+
#define tTransitive(X, Y) "\300" X Y #define tSimpleCallable tOr3(tArray,tFunction,tObj) #define tCallable tOr3(tArr(tSimpleCallable),tFunction,tObj) #define BIT_ARRAY (1<<PIKE_T_ARRAY) #define BIT_MAPPING (1<<PIKE_T_MAPPING) #define BIT_MULTISET (1<<PIKE_T_MULTISET) #define BIT_OBJECT (1<<PIKE_T_OBJECT) #define BIT_FUNCTION (1<<PIKE_T_FUNCTION)