MCPcopy Create free account
hub / github.com/cpputest/cpputest / ClassName_Create

Function ClassName_Create

scripts/templates/ClassNameCPolymorphic.c:10–15  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8};
9
10ClassName* ClassName_Create(void)
11{
12 ClassName* self = malloc(sizeof(ClassName));
13 memset(self, 0, sizeof(ClassName));
14 return self;
15}
16
17void ClassName_Destroy(ClassName* self)
18{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected