|
| 1 | + |
| 2 | +/* |
| 3 | + DO NOT EDIT THIS FILE! |
| 4 | +
|
| 5 | + This file is automatically generated by tools/autogen.py from tools/public_api.h. |
| 6 | + Run this to regenerate: |
| 7 | + make autogen |
| 8 | +
|
| 9 | +*/ |
| 10 | + |
| 11 | +#define _HPyFunc_DECLARE_HPyFunc_NOARGS(SYM) static HPy SYM(HPyContext ctx, HPy self) |
| 12 | +#define _HPyFunc_DECLARE_HPyFunc_O(SYM) static HPy SYM(HPyContext ctx, HPy self, HPy arg) |
| 13 | +#define _HPyFunc_DECLARE_HPyFunc_VARARGS(SYM) static HPy SYM(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs) |
| 14 | +#define _HPyFunc_DECLARE_HPyFunc_KEYWORDS(SYM) static HPy SYM(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs, HPy kw) |
| 15 | +#define _HPyFunc_DECLARE_HPyFunc_UNARYFUNC(SYM) static HPy SYM(HPyContext ctx, HPy) |
| 16 | +#define _HPyFunc_DECLARE_HPyFunc_BINARYFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy) |
| 17 | +#define _HPyFunc_DECLARE_HPyFunc_TERNARYFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy, HPy) |
| 18 | +#define _HPyFunc_DECLARE_HPyFunc_INQUIRY(SYM) static int SYM(HPyContext ctx, HPy) |
| 19 | +#define _HPyFunc_DECLARE_HPyFunc_LENFUNC(SYM) static HPy_ssize_t SYM(HPyContext ctx, HPy) |
| 20 | +#define _HPyFunc_DECLARE_HPyFunc_SSIZEARGFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy_ssize_t) |
| 21 | +#define _HPyFunc_DECLARE_HPyFunc_SSIZESSIZEARGFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy_ssize_t, HPy_ssize_t) |
| 22 | +#define _HPyFunc_DECLARE_HPyFunc_SSIZEOBJARGPROC(SYM) static int SYM(HPyContext ctx, HPy, HPy_ssize_t, HPy) |
| 23 | +#define _HPyFunc_DECLARE_HPyFunc_SSIZESSIZEOBJARGPROC(SYM) static int SYM(HPyContext ctx, HPy, HPy_ssize_t, HPy_ssize_t, HPy) |
| 24 | +#define _HPyFunc_DECLARE_HPyFunc_OBJOBJARGPROC(SYM) static int SYM(HPyContext ctx, HPy, HPy, HPy) |
| 25 | +#define _HPyFunc_DECLARE_HPyFunc_FREEFUNC(SYM) static void SYM(HPyContext ctx, void *) |
| 26 | +#define _HPyFunc_DECLARE_HPyFunc_GETATTRFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, char *) |
| 27 | +#define _HPyFunc_DECLARE_HPyFunc_GETATTROFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy) |
| 28 | +#define _HPyFunc_DECLARE_HPyFunc_SETATTRFUNC(SYM) static int SYM(HPyContext ctx, HPy, char *, HPy) |
| 29 | +#define _HPyFunc_DECLARE_HPyFunc_SETATTROFUNC(SYM) static int SYM(HPyContext ctx, HPy, HPy, HPy) |
| 30 | +#define _HPyFunc_DECLARE_HPyFunc_REPRFUNC(SYM) static HPy SYM(HPyContext ctx, HPy) |
| 31 | +#define _HPyFunc_DECLARE_HPyFunc_HASHFUNC(SYM) static HPy_hash_t SYM(HPyContext ctx, HPy) |
| 32 | +#define _HPyFunc_DECLARE_HPyFunc_RICHCMPFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy, int) |
| 33 | +#define _HPyFunc_DECLARE_HPyFunc_GETITERFUNC(SYM) static HPy SYM(HPyContext ctx, HPy) |
| 34 | +#define _HPyFunc_DECLARE_HPyFunc_ITERNEXTFUNC(SYM) static HPy SYM(HPyContext ctx, HPy) |
| 35 | +#define _HPyFunc_DECLARE_HPyFunc_DESCRGETFUNC(SYM) static HPy SYM(HPyContext ctx, HPy, HPy, HPy) |
| 36 | +#define _HPyFunc_DECLARE_HPyFunc_DESCRSETFUNC(SYM) static int SYM(HPyContext ctx, HPy, HPy, HPy) |
| 37 | +#define _HPyFunc_DECLARE_HPyFunc_INITPROC(SYM) static int SYM(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs, HPy kw) |
| 38 | +#define _HPyFunc_DECLARE_HPyFunc_GETTER(SYM) static HPy SYM(HPyContext ctx, HPy, void *) |
| 39 | +#define _HPyFunc_DECLARE_HPyFunc_SETTER(SYM) static int SYM(HPyContext ctx, HPy, HPy, void *) |
| 40 | +#define _HPyFunc_DECLARE_HPyFunc_DESTROYFUNC(SYM) static void SYM(void *) |
| 41 | + |
| 42 | +typedef HPy (*HPyFunc_noargs)(HPyContext ctx, HPy self); |
| 43 | +typedef HPy (*HPyFunc_o)(HPyContext ctx, HPy self, HPy arg); |
| 44 | +typedef HPy (*HPyFunc_varargs)(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs); |
| 45 | +typedef HPy (*HPyFunc_keywords)(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs, HPy kw); |
| 46 | +typedef HPy (*HPyFunc_unaryfunc)(HPyContext ctx, HPy); |
| 47 | +typedef HPy (*HPyFunc_binaryfunc)(HPyContext ctx, HPy, HPy); |
| 48 | +typedef HPy (*HPyFunc_ternaryfunc)(HPyContext ctx, HPy, HPy, HPy); |
| 49 | +typedef int (*HPyFunc_inquiry)(HPyContext ctx, HPy); |
| 50 | +typedef HPy_ssize_t (*HPyFunc_lenfunc)(HPyContext ctx, HPy); |
| 51 | +typedef HPy (*HPyFunc_ssizeargfunc)(HPyContext ctx, HPy, HPy_ssize_t); |
| 52 | +typedef HPy (*HPyFunc_ssizessizeargfunc)(HPyContext ctx, HPy, HPy_ssize_t, HPy_ssize_t); |
| 53 | +typedef int (*HPyFunc_ssizeobjargproc)(HPyContext ctx, HPy, HPy_ssize_t, HPy); |
| 54 | +typedef int (*HPyFunc_ssizessizeobjargproc)(HPyContext ctx, HPy, HPy_ssize_t, HPy_ssize_t, HPy); |
| 55 | +typedef int (*HPyFunc_objobjargproc)(HPyContext ctx, HPy, HPy, HPy); |
| 56 | +typedef void (*HPyFunc_freefunc)(HPyContext ctx, void *); |
| 57 | +typedef HPy (*HPyFunc_getattrfunc)(HPyContext ctx, HPy, char *); |
| 58 | +typedef HPy (*HPyFunc_getattrofunc)(HPyContext ctx, HPy, HPy); |
| 59 | +typedef int (*HPyFunc_setattrfunc)(HPyContext ctx, HPy, char *, HPy); |
| 60 | +typedef int (*HPyFunc_setattrofunc)(HPyContext ctx, HPy, HPy, HPy); |
| 61 | +typedef HPy (*HPyFunc_reprfunc)(HPyContext ctx, HPy); |
| 62 | +typedef HPy_hash_t (*HPyFunc_hashfunc)(HPyContext ctx, HPy); |
| 63 | +typedef HPy (*HPyFunc_richcmpfunc)(HPyContext ctx, HPy, HPy, int); |
| 64 | +typedef HPy (*HPyFunc_getiterfunc)(HPyContext ctx, HPy); |
| 65 | +typedef HPy (*HPyFunc_iternextfunc)(HPyContext ctx, HPy); |
| 66 | +typedef HPy (*HPyFunc_descrgetfunc)(HPyContext ctx, HPy, HPy, HPy); |
| 67 | +typedef int (*HPyFunc_descrsetfunc)(HPyContext ctx, HPy, HPy, HPy); |
| 68 | +typedef int (*HPyFunc_initproc)(HPyContext ctx, HPy self, HPy *args, HPy_ssize_t nargs, HPy kw); |
| 69 | +typedef HPy (*HPyFunc_getter)(HPyContext ctx, HPy, void *); |
| 70 | +typedef int (*HPyFunc_setter)(HPyContext ctx, HPy, HPy, void *); |
| 71 | +typedef void (*HPyFunc_destroyfunc)(void *); |
0 commit comments