Ejemplo n.º 1
0
def _make_ref(elementid, ptr):
    if elementid == _CUSTOM_GROUP_CONSTRUCT:
        return summon_core.get_element_contents(ptr)
    else:
        return _element_table[elementid](ref=ptr)
Ejemplo n.º 2
0
 def get(self):
     """Returns the content of an element as a tuple in a format specific 
        to the particular element type"""
     return summon_core.get_element_contents(self.ptr)