Don't emit out-of-module sizeof definitions
Signed-off-by: Peter Harris <pharris@opentext.com>
This commit is contained in:
parent
03bcccb132
commit
a22909c0f5
|
@ -399,6 +399,7 @@ def _c_type_setup(self, name, postfix):
|
||||||
|
|
||||||
if self.need_sizeof:
|
if self.need_sizeof:
|
||||||
if self.c_sizeof_name not in finished_sizeof:
|
if self.c_sizeof_name not in finished_sizeof:
|
||||||
|
if not module.namespace.is_ext or self.name[:2] == module.namespace.prefix:
|
||||||
finished_sizeof.append(self.c_sizeof_name)
|
finished_sizeof.append(self.c_sizeof_name)
|
||||||
_c_serialize('sizeof', self)
|
_c_serialize('sizeof', self)
|
||||||
# _c_type_setup()
|
# _c_type_setup()
|
||||||
|
|
Loading…
Reference in New Issue