Sha256: 0fba8ed538d871b3d31675c7750f33f553a3b5cdc9f2b02f9fc797e2f99234db
Contents?: true
Size: 535 Bytes
Versions: 36
Compression:
Stored size: 535 Bytes
Contents
//-*-c++-*- // Template of a C++ Constructor stub, the function used to convert the // parameters from Ruby objects to C++, and then call the real C++ constructor. !function_prototype! { !c_class_name!* tmp; Data_Get_Struct(self, !c_class_name!, tmp); /* The exception is thrown already by ruby2* if not found */ !function_call!; DATA_PTR(self) = tmp; !class_ptrmap![self] = tmp; #ifdef DEBUG fprintf(stderr, "rust: creating new instance of !c_class_name! (%p) with value %x\n", tmp, self); #endif return self; }
Version data entries
36 entries across 36 versions & 2 rubygems