diff options
author | redbrain <redbrain@gcc.gnu.org> | 2012-04-21 19:12:19 +0100 |
---|---|---|
committer | redbrain <redbrain@gcc.gnu.org> | 2012-04-21 19:12:19 +0100 |
commit | 6bb2994a691ee688ac538c2ac9d382804aad5abe (patch) | |
tree | 9bf8e9a3e0886c75383b07c144be6a157b285c11 /libgpython/runtime/py-obj_staticmethod.c | |
parent | 30903ba9eb9e6b3f3d926041cfc438c71377d6f6 (diff) |
lots of argument passing work finished and we can compile python nowalpha-v0.1
Diffstat (limited to 'libgpython/runtime/py-obj_staticmethod.c')
-rw-r--r-- | libgpython/runtime/py-obj_staticmethod.c | 6 |
1 files changed, 3 insertions, 3 deletions
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 <gpython/objects.h> 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; |