/*
- * Copyright © 2011 Nick Bowler
+ * Copyright © 2011, 2021, 2023 Nick Bowler
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
/* Error handling. */
enum {
- CDECL_ENOMEM,
+ CDECL_ENOMEM = 1,
CDECL_ENOPARSE,
+
+ /* Obsolete error codes (no longer returned by the library) */
+ CDECL_EBADARRAY,
+ CDECL_EBADDECL,
+ CDECL_EBADPARAMS,
+ CDECL_EBADPOINTER,
+ CDECL_EBADQUAL,
+ CDECL_EBADRETURN,
+ CDECL_EBADSTOR,
+ CDECL_EBADTYPE,
+ CDECL_ENOTFUNC,
+ CDECL_EVOIDPARAM
};
struct cdecl_error {