code: func bgparam2param(p bindgen.Parameter) *Param {
  	name := p.Name()
  	typ := cleanType(p.Type())
  	isPtr := bindgen.IsPointer(p.Type())
  	return NewParam(name, typ, isPtr)
  }
docs: // bgparam2cparam transforms bindgen parameter to *Param