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

Function CALC_IStatusImpl_create

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

Source from the content-addressed store, hash-verified

60}
61
62struct CALC_IStatus* CALC_IStatusImpl_create()
63{
64 static struct CALC_IStatusVTable vtable = {
65 {NULL},
66 CALC_IStatus_VERSION,
67 CALC_IStatusImpl_dispose,
68 CALC_IStatusImpl_getCode,
69 CALC_IStatusImpl_setCode
70 };
71
72 struct CALC_IStatusImpl* impl = malloc(sizeof(struct CALC_IStatusImpl));
73 impl->vtable = &vtable;
74 impl->code = 0;
75
76 return (struct CALC_IStatus*) impl;
77}
78
79
80//--------------------------------------

Callers 2

testFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected