"static struct PyMethodDef %s[] = {" %
env.method_table_cname)
for entry in env.pyfunc_entries:
- code.put_pymethoddef(entry, ",")
+ code.put_pymethoddef(entry, ",")
code.putln(
"{0, 0, 0, 0}")
code.putln(
adapt(base_entry.cname), base_entry.visibility)
entry.is_inherited = 1
+ def allocate_temp(self, type):
+ return Scope.allocate_temp(self.global_scope(), type)
+ def release_temp(self, cname):
+ return Scope.release_temp(self.global_scope(), cname)
+
+
class PropertyScope(Scope):
# Scope holding the __get__, __set__ and __del__ methods for
# a property of an extension type.