Commit 02dd9d96 authored by VIGNET Pierre's avatar VIGNET Pierre
Browse files

[lib] C: remove pragmas for warnings; add print macro for pyobjects

parent 98590d39
...@@ -52,8 +52,8 @@ THE SOFTWARE. ...@@ -52,8 +52,8 @@ THE SOFTWARE.
static PyObject *PyInit_ ## name(void) static PyObject *PyInit_ ## name(void)
#endif #endif
#pragma GCC diagnostic ignored "-Wmissing-field-initializers" #define PY_PRINTF(o) \
#pragma GCC diagnostic ignored "-Wwrite-strings" PyObject_Print(o, stdout, 0); printf("\n");
int raw_get_unshift_code(int* var_num, int* shift_step); int raw_get_unshift_code(int* var_num, int* shift_step);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment