code: def prototype(self, name, argtypes, restype=None):
          
          function = self.function(name)
          function.argtypes = argtypes
          if restype:
              function.restype = restype
docs: Define argument / return types for the specified C function