Esempio n. 1
0
 def select(self, field):
     if not libcoreir_c.COREWireableCanSelect(self.ptr, str.encode(field)):
         raise Exception("Cannot Select this Wireable with " + field)
     return Select(
         libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)),
         self.context)
Esempio n. 2
0
 def select(self, field):
     return Select(
         libcoreir_c.COREWireableSelect(self.ptr, str.encode(field)),
         self.context)