def get_struct_type(self, name):
        """
        Get a TypeRef pointing to a structure type named *name*.
        NameError is raised if the struct type isn't found.
        """
        p = ffi.lib.LLVMPY_GetNamedStructType(self, _encode_string(name))
        if not p:
            raise NameError(name)
        return TypeRef(p)
def get_struct_type ( self , name ) : p = ffi . lib . LLVMPY_GetNamedStructType ( self , _encode_string ( name ) ) if not p : raise NameError ( name ) return TypeRef ( p )
Get a TypeRef pointing to a structure type named *name*.
        NameError is raised if the struct type isn't found.