Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix "implicit declaration of function ‘qidarg_converter’"
  • Loading branch information
AA-Turner committed Aug 12, 2025
commit 07e8d7ad0ace9a68f219e184529b1d17c61c1678
22 changes: 11 additions & 11 deletions Modules/_interpqueuesmodule.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
#undef HAS_FALLBACK
#undef REGISTERS_HEAP_TYPES

#include "clinic/_interpqueuesmodule.c.h"


#define MODULE_NAME _interpqueues
#define MODULE_NAME_STR Py_STRINGIFY(MODULE_NAME)
Expand All @@ -29,15 +27,6 @@ module _interpqueues
[clinic start generated code]*/
/*[clinic end generated code: output=da39a3ee5e6b4b0d input=cb1313f77fab132b]*/

/*[python input]

class qidarg_converter(CConverter):
type = 'int64_t'
converter = 'qidarg_converter'

[python start generated code]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=c64fbf36771164d6]*/

#define GLOBAL_MALLOC(TYPE) \
PyMem_RawMalloc(sizeof(TYPE))
#define GLOBAL_FREE(VAR) \
Expand Down Expand Up @@ -1482,6 +1471,15 @@ clear_interpreter(void *data)
}


/*[python input]

class qidarg_converter(CConverter):
type = 'int64_t'
converter = 'qidarg_converter'

[python start generated code]*/
/*[python end generated code: output=da39a3ee5e6b4b0d input=c64fbf36771164d6]*/

static int
qidarg_converter(PyObject *arg, void *ptr)
{
Expand All @@ -1494,6 +1492,8 @@ qidarg_converter(PyObject *arg, void *ptr)
return res;
}

#include "clinic/_interpqueuesmodule.c.h"


/*[clinic input]
_interpqueues.create
Expand Down