/* Generated by Lib/test/test_ctypes/test_generated_structs.py */ // Append VALUE to the result. #define APPEND … // Set TARGET, and append a snapshot of `value`'s // memory to the result. #define SET_AND_APPEND … // Set a field to -1, 1 and 0; append a snapshot of the memory // after each of the operations. #define TEST_FIELD … #if defined(__GNUC__) || defined(__clang__) #define GCC_ATTR … #else #define GCC_ATTR … #endif static PyObject * get_generated_test_data(PyObject *self, PyObject *name) { … } #undef GCC_ATTR #undef TEST_FIELD #undef SET_AND_APPEND #undef APPEND