Skip to content

Commit 4bc0683

Browse files
committed
Making callback static.
1 parent fda7192 commit 4bc0683

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jitcode/jitced_template.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ double parameter_{{control_par}};
1212
{% endfor %}
1313

1414
{% if callbacks|length %}
15-
double inline callback(PyObject * Python_function, PyObject * arglist)
15+
static inline double callback(PyObject * Python_function, PyObject * arglist)
1616
{
1717
PyObject * py_result = PyObject_CallObject(Python_function,arglist);
1818
Py_DECREF(arglist);

0 commit comments

Comments
 (0)