MCPcopy Create free account
hub / github.com/FirebirdSQL/firebird / CALC_IFactoryImpl_create

Function CALC_IFactoryImpl_create

extern/cloop/src/tests/test1/CTest.c:294–310  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

292}
293
294struct CALC_IFactory* CALC_IFactoryImpl_create()
295{
296 static struct CALC_IFactoryVTable vtable = {
297 {NULL},
298 CALC_IFactory_VERSION,
299 CALC_IFactoryImpl_dispose,
300 CALC_IFactoryImpl_createStatus,
301 CALC_IFactoryImpl_createCalculator,
302 CALC_IFactoryImpl_createCalculator2,
303 CALC_IFactoryImpl_createBrokenCalculator
304 };
305
306 struct CALC_IFactory* impl = malloc(sizeof(struct CALC_IFactory));
307 impl->vtable = &vtable;
308
309 return impl;
310}
311
312
313//--------------------------------------

Callers 1

createFactoryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected