From b97912fbac14e760f1b595180ffe58af1ee34194 Mon Sep 17 00:00:00 2001 From: Peter LaFosse Date: Thu, 20 Jan 2022 13:14:10 -0500 Subject: Create setter signed in TypeBuilder --- python/types.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') 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 -- cgit v1.3.1