ARSperl
view release on metacpan or search on metacpan
support-h.template view on Meta::CPAN
//# else
# define AP_FREE(X) free(X)
//# endif
// *** </JLS17_win32_free> ***
#else
# define AP_FREE(X) debug_free(X, __FILE__, __FUNCTION__, __LINE__)
#endif /* free debugging */
#define CPNULL (char *)NULL
/* some useful macros: CharVaLiD and IntVaLiD ..
* for checking validity of paramters
* VNAME() for all of those perl functions that want a string and
* it's length as the next parameter.
*/
#define CVLD(X) (X && *X)
#define IVLD(X, L, H) ((L <= X) && (X <= H))
#define VNAME(X) X, strlen(X)
/* defines used by the ARError* functions */
#define ERRHASH "ARS::ars_errhash"
#define EH_COUNT "numItems"
#define EH_TYPE "messageType"
#define EH_NUM "messageNum"
#define EH_TEXT "messageText"
#define ARSPERL_TRACEBACK -1
#define AP_ERR_BAD_ARGS 80000, "Invalid number of arguments"
#define AP_ERR_BAD_EID 80001, "Invalid entry-id argument"
#define AP_ERR_EID_TYPE 80002, "Entry-id should be an array or a single scalar"
#define AP_ERR_EID_LEN 80003, "Invalid Entry-id length"
#define AP_ERR_BAD_LFLDS 80004, "Bad GetListFields"
#define AP_ERR_LFLDS_TYPE 80005, "GetListFields must be an ARRAY reference"
#define AP_ERR_USAGE 80006 /* roll your own text */
#define AP_ERR_MALLOC 80007, "mallocnn() failed to allocate space"
#define AP_ERR_BAD_EXP 80009, "Unknown export type"
#define AP_ERR_BAD_IMP 80010, "Unknown import type"
#define AP_ERR_DEPRECATED 80011 /* roll your own text */
#define AP_ERR_NO_SERVERS 80012, "No servers available"
#define AP_ERR_FIELD_TYPE 80013, "Unknown field type"
#define AP_ERR_COORD_LIST 80014, "Bad coord list"
#define AP_ERR_COORD_STRUCT 80015, "Bad coord struct"
#define AP_ERR_BYTE_LIST 80016, "Bad byte list"
#define AP_ERR_EID_SEP 80017, "Expected EID to contain a separator"
#define AP_ERR_OPT_NA 80018 /* roll your own text - option not available */
#define AP_ERR_EXPECT_PVHV 80019, "Expected argument to contain a HASH reference"
#define AP_ERR_GENERAL 80020 /* roll your own text */
#define AP_ERR_CONTINUE 80021 /* roll your own continuation text */
#define AP_ERR_NEEDKEYS 80022, "Required hash keys do not exists"
#define AP_ERR_NEEDKEYSKEYS 80023 /* specify what keys */
#define AP_ERR_PREREVFAIL 80024, "Failed to convert some perl structures to ars structures. Create/Set operation aborted."
#define AP_ERR_ATTACH 80025 /* roll your own text */
#define AP_ERR_INV_ARGS 80026 /* roll your own - invalid argument(s) */
#define AP_ERR_INV_ARITH 80027 /*, "Unknown arith operation in ARArithOpStruct" */
#define AP_ERR_ENUM_LISTSTYLE 80028, "Unknown EnumLimits listStyle"
#define AP_ERR_CURRENCY_STRUCT 80029, "Bad currency struct hash (missing a key or a key had an unexpected value)"
#define AP_ERR_TYPEMAP 80030, "Cannot resolve typemap value"
#define AP_ERR_INV_RETURN 80031, "Invalid return data"
#define AP_ERR_DATATYPE 80032, "Unsupported data type"
#endif /* __support_h_ */
( run in 0.813 second using v1.01-cache-2.11-cpan-39bf76dae61 )