Sha256: d2dac1a0b8c7116dee25f9c8c444e0661f24fca9457a61f75db436e3955db8f1

Contents?: true

Size: 332 Bytes

Versions: 5

Compression:

Stored size: 332 Bytes

Contents

//-*-c++-*-

T!class_ptrmap! !class_ptrmap!;

static void !class_varname!_free(void *p) {
  T!class_ptrmap!::iterator it, eend = !class_ptrmap!.end();
  for(it = !class_ptrmap!.begin(); it != eend; it++)
     if ( (*it).second == (!c_class_name!*)p ) {
        !class_ptrmap!.erase(it); break;
     }
  delete (!c_class_name!*)p;
}

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gecoder-0.3.0 vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl
gecoder-0.4.0 vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl
gecoder-0.5.0 vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl
gecoder-0.2.0 vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl
gecoder-0.6.0 vendor/rust/rust/templates/CxxStandaloneClassDefinitions.rusttpl