code: def FUNCTIONPROTO(self, _cursor_type):
          
          # 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)
          for i, _attr_type in enumerate(_cursor_type.argument_types()):
              arg = typedesc.Argument(
                  "a%d" %
                  (i),
                  self.parse_cursor_type(_attr_type))
              obj.add_argument(arg)
          self.set_location(obj, None)
          return obj
docs: Handles function prototype.