diff options
| author | Peter LaFosse <peter@vector35.com> | 2018-10-17 19:44:42 -0400 |
|---|---|---|
| committer | Peter LaFosse <peter@vector35.com> | 2018-10-19 10:05:09 -0400 |
| commit | 1985d1427e111580c7e26b596daa96bb6db0d799 (patch) | |
| tree | e7ce1d86ca36cd839543cb9fbbdd88498e4cf7ac /python | |
| parent | 4bb4a2016d90176938bc8737fd9f29e2d6ea2737 (diff) | |
Add char convenience method
Diffstat (limited to 'python')
| -rw-r--r-- | python/types.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/python/types.py b/python/types.py index 4de55700..05e531e1 100644 --- a/python/types.py +++ b/python/types.py @@ -518,6 +518,10 @@ class Type(object): return Type(core.BNCreateBoolType()) @classmethod + def char(self): + return Type.int(1, True) + + @classmethod def int(self, width, sign = None, altname=""): """ ``int`` class method for creating an int Type. |
