summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/types.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/types.py b/python/types.py
index c5086d56..2af6a537 100644
--- a/python/types.py
+++ b/python/types.py
@@ -759,6 +759,10 @@ class TypeBuilder:
def signed(self) -> BoolWithConfidence:
return BoolWithConfidence.from_core_struct(core.BNIsTypeBuilderSigned(self._handle))
+ @signed.setter
+ def signed(self, value:BoolWithConfidenceType) -> None: # type: ignore
+ _value = BoolWithConfidence.get_core_struct(value)
+ core.BNTypeBuilderSetSigned(self._handle, _value)
class VoidBuilder(TypeBuilder):
@classmethod