code: def _createunbound(kls, **info):
      
      
      if issubclass(kls, Bitfield):
          nodetype = UnboundBitfieldNode
      elif hasattr(kls, '_fields_'):
          nodetype = UnboundStructureNode
      elif issubclass(kls, ctypes.Array):
          nodetype = UnboundArrayNode
      else:
          nodetype = UnboundSimpleNode        
      return nodetype(type=kls, **info)
docs: Create a new UnboundNode representing a given class.