pike.git / src / svalue.h

version» Context lines:

pike.git/src/svalue.h:157:    * Bin 14 (0x4000) indicates that it is an int op.    */    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. */       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_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:324:   #define MagictFuncV(RET,REST,ARGS) "\004" ARGS "\021" REST RET   #define MagictFunc(RET,ARGS) tFuncV(ARGS tNone, tVoid, RET)   #define tFunction tFuncV(tNone, tUnknown, tOr(tMix,tVoid))   #define tNone ""   #define tUnknown "\367"   #define tPrg(X) "\005" X   #define tProgram(X) "\005" X   #define tStr "\006"   #define tString "\006"   #define tNStr(T) "\357" T - #define tStr0 tNStr(tZero) + /* NB: tStr0 is a misnomer as it refers to the length of +  * the string rather than the content. +  */ + #define tStr0 tLStr(tZero, tUnknown)   #define tStr7 tNStr(tInt7bit)   #define tStr8 tNStr(tInt8bit)   #define tStr16 tNStr(tInt16bit)   #define tStr32 "\006"   #define tLStr(LEN, VAL) "\355" LEN VAL   #define tType(T) "\007" T   #define tInt "\022"   #define tInt0 "\010\000\000\000\000\000\000\000\000"   #define tInt1 "\010\000\000\000\001\000\000\000\001"   #define tInt2 "\010\000\000\000\002\000\000\000\002"
pike.git/src/svalue.h:422:   #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      #define tSubInt(X, Y) "\200\300" X Y   #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 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)