pike.git / src / svalue.h

version» Context lines:

pike.git/src/svalue.h:153:    * Note that this overlaps with the PIKE_T_NO_REF_FLAG,    * but that should be safe, as operators aren't valid    * run-time types.    *    * 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_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_TRANSITIVE = 0x00c0, /* Repeatedly apply a function type. */   
pike.git/src/svalue.h:421:   #define tName2(X,Y) "\361\2" X "\0\0\0\0" Y   #endif /* PIKE_BYTEORDER == 1234 */      /* Some convenience macros for common attributes. */   #define tSprintfFormat(X) tAttr("sprintf_format", X)   #define tSprintfArgs(X) tAttr("sprintf_args", X)   #define tDeprecated(X) tAttr("deprecated", X)   #define tUtf8Str tAttr("utf8", tStr8)      #define tGetReturn(X) "\200\002" X + #define tApply(FUN, ARG) "\200\201" FUN ARG   #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