def FUNCTIONNOPROTO(self, _cursor_type):
        """Handles function with no prototype."""
        # id, returns, attributes
        returns = _cursor_type.get_result()
        # if self.is_fundamental_type(returns):
        returns = self.parse_cursor_type(returns)
        attributes = []
        obj = typedesc.FunctionType(returns, attributes)
        # argument_types cant be asked. no arguments.
        self.set_location(obj, None)
        return obj
def FUNCTIONNOPROTO ( self , _cursor_type ) : returns = _cursor_type . get_result ( ) returns = self . parse_cursor_type ( returns ) attributes = [ ] obj = typedesc . FunctionType ( returns , attributes ) self . set_location ( obj , None ) return obj
Handles function with no prototype.