go/names.cc
std::string
Gogo::init_function_name()
{
  static int init_count;
  char buf[30];
  snprintf(buf, sizeof buf, "..init%d", init_count);
  ++init_count;
  std::string ret = this->pkgpath_symbol();
  return ret + buf;
}
// Return the name to use for an init function.  There can be multiple
// functions named "init" so each one needs a different name.
Return the name to use for an init function.  There can be multiple
functions named "init" so each one needs a different name.
Return the name to use for an init function . There can be multiple functions named " init " so each one needs a different name .
std::string
Gogo::init_function_name()
{
  static int init_count;
  char buf[30];
  snprintf(buf, sizeof buf, "..init%d", init_count);
  ++init_count;
  std::string ret = this->pkgpath_symbol();
  return ret + buf;
}
std :: string Gogo :: init_function_name ( ) { static int init_count ; char buf [ 30 ] ; snprintf ( buf , sizeof buf , " " , init_count ) ; ++ init_count ; std :: string ret = this -> pkgpath_symbol ( ) ; return ret + buf ; }
Return the name to use for an init function.
Return the name to use for an init function .