pike.git / src / errors.h

version» Context lines:

pike.git/src/errors.h:53: Inside #if undefined(ERR_VAR)
     #ifndef ERR_VAR   #define ERR_VAR(TYPE,CTYPE,RUNTYPE,NAME)   #endif      #ifndef ERR_FUNC   #define ERR_FUNC(NAME,FUNC,TYPE,FLAGS)   #endif      DECLARE_ERROR(generic, EMPTY , -  ERR_VAR(struct pike_string *,string,T_STRING,desc) -  ERR_VAR(struct array *,array,T_ARRAY,backtrace) +  ERR_VAR(struct pike_string *,string,PIKE_T_STRING,desc) +  ERR_VAR(struct array *,array,PIKE_T_ARRAY,backtrace)    ERR_FUNC("cast",f_error_cast,tFunc(tString,tMixed),0)    ERR_FUNC("`[]",f_error_index,tFunc(tString,tMixed),0)    ERR_FUNC("describe",f_error_describe,tFunc(tVoid,tString),0)    ERR_FUNC("backtrace",f_error_backtrace,tFunc(tVoid,tArr(tMixed)),0)   )      #define GENERIC_ERROR_THIS ((struct generic_error_struct *)fp->current_storage)      DECLARE_ERROR(index,    ERR_INHERIT(generic),    ERR_VAR(struct svalue, mixed, T_MIXED, val)    ERR_VAR(struct svalue, mixed, T_MIXED, ind)   )      DECLARE_ERROR(bad_arg,    ERR_INHERIT(generic), -  ERR_VAR(INT_TYPE, int, T_INT, which_arg) -  ERR_VAR(struct pike_string *,string,T_STRING,expected_type) +  ERR_VAR(INT_TYPE, int, PIKE_T_INT, which_arg) +  ERR_VAR(struct pike_string *,string,PIKE_T_STRING,expected_type)    ERR_VAR(struct svalue, mixed, T_MIXED, got)   )      DECLARE_ERROR(math,    ERR_INHERIT(generic),    ERR_VAR(struct svalue, mixed, T_MIXED, number)   )      DECLARE_ERROR(resource,    ERR_INHERIT(generic), -  ERR_VAR(struct pike_string *,string,T_STRING,resource_type) -  ERR_VAR(INT_TYPE, int, T_INT, howmuch) +  ERR_VAR(struct pike_string *,string,PIKE_T_STRING,resource_type) +  ERR_VAR(INT_TYPE, int, PIKE_T_INT, howmuch)   )      DECLARE_ERROR(permission,    ERR_INHERIT(generic), -  ERR_VAR(struct pike_string *,string,T_STRING,permission_type) +  ERR_VAR(struct pike_string *,string,PIKE_T_STRING,permission_type)   )   #undef DECLARE_ERROR   #undef ERR_INHERIT   #undef ERR_VAR   #undef ERR_FUNC      #undef ERR_DECLARE   #undef ERR_SETUP   #undef ERR_CLEANUP