Skip to content
This repository has been archived by the owner on Feb 8, 2023. It is now read-only.

Any better suggestion for ignore base type #3

Open
slowpy opened this issue Nov 18, 2016 · 0 comments
Open

Any better suggestion for ignore base type #3

slowpy opened this issue Nov 18, 2016 · 0 comments

Comments

@slowpy
Copy link

slowpy commented Nov 18, 2016

If out some base type ,it will make redefine bug.Any good suggestion

I do it lie:

def visit_Typedef(self, n):
s = ''
if n.storage: s += ' '.join(n.storage) + ' '
s += self._generate_type(n.type)
if n.name in['size_t','ssize_t','__uint8_t'^^^^
return

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant