From 6bb2994a691ee688ac538c2ac9d382804aad5abe Mon Sep 17 00:00:00 2001 From: redbrain Date: Sat, 21 Apr 2012 19:12:19 +0100 Subject: lots of argument passing work finished and we can compile python now --- libgpython/runtime/py-obj_staticmethod.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libgpython/runtime/py-obj_staticmethod.c') diff --git a/libgpython/runtime/py-obj_staticmethod.c b/libgpython/runtime/py-obj_staticmethod.c index 0f287e18f9e..c7f791466ad 100644 --- a/libgpython/runtime/py-obj_staticmethod.c +++ b/libgpython/runtime/py-obj_staticmethod.c @@ -31,8 +31,8 @@ along with GCC; see the file COPYING3. If not see #include struct gpy_object_staticmethod_t { - const unsigned char * code; - const char * identifier; + unsigned char * code; + char * identifier; unsigned int nargs; }; @@ -85,7 +85,7 @@ gpy_object_t * gpy_object_staticmethod_call (gpy_object_t * self, struct gpy_object_staticmethod_t * state = self->o.object_state->state; if (!state->code) { - fndecl fnptr = (fndecl)state->code; + staticmethod_fndecl fnptr = (staticmethod_fndecl)state->code; fnptr (args); } return retval; -- cgit v1.2.3