From 2ac9619bb1f1fe836525e86fa7953aa1d1eafcd2 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Tue, 31 Aug 2021 22:37:24 -0500 Subject: [PATCH] binding bugfix --- bindings/generated/pixie.py | 44 ++++++++++++++++++------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/bindings/generated/pixie.py b/bindings/generated/pixie.py index ebacad1..bfcbeb8 100644 --- a/bindings/generated/pixie.py +++ b/bindings/generated/pixie.py @@ -197,10 +197,10 @@ class SeqFloat32(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_seq_float_32_unref(self) @@ -230,10 +230,10 @@ class SeqSpan(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_seq_span_unref(self) @@ -273,10 +273,10 @@ class Image(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_image_unref(self) @@ -462,10 +462,10 @@ class Mask(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_mask_unref(self) @@ -612,10 +612,10 @@ class Paint(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_paint_unref(self) @@ -734,10 +734,10 @@ class Path(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_path_unref(self) @@ -823,10 +823,10 @@ class Typeface(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_typeface_unref(self) @@ -877,10 +877,10 @@ class Font(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_font_unref(self) @@ -990,10 +990,10 @@ class Span(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_span_unref(self) @@ -1022,10 +1022,10 @@ class Arrangement(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_arrangement_unref(self) @@ -1038,10 +1038,10 @@ class Context(Structure): _fields_ = [("ref", c_ulonglong)] def __bool__(self): - self.ref != None + return self.ref != None def __eq__(self, obj): - self.ref == obj.ref + return self.ref == obj.ref def __del__(self): dll.pixie_context_unref(self)