Sha256: 620b90a6f5c260713d0b79acf33d4c85cecaf1c76efa9cb84f4d8d38aa14fa0b
Contents?: true
Size: 648 Bytes
Versions: 31
Compression:
Stored size: 648 Bytes
Contents
//-*-c++-*- T!class_ptrmap! !class_ptrmap!; static void !class_varname!_free(void *p) { !class_map_free_function!(p); delete (!c_class_name!*)p; } static void !class_varname!_free_map_entry(void *p) { #ifdef DEBUG fprintf(stderr, "rust: Freeing %p (!class_varname!) \\n", p); #endif 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; } } static void !class_varname!_mark(void *p) { #ifdef DEBUG fprintf(stderr, "rust: Marking %p (!class_varname!) \\n", p); #endif }
Version data entries
31 entries across 31 versions & 2 rubygems