| 47 | } |
| 48 | |
| 49 | static void* create (RTCThreadLocalAllocator alloc, unsigned int numChildren, void* userPtr) |
| 50 | { |
| 51 | assert(numChildren == 2); |
| 52 | void* ptr = rtcThreadLocalAlloc(alloc,sizeof(InnerNode),16); |
| 53 | return (void*) new (ptr) InnerNode; |
| 54 | } |
| 55 | |
| 56 | static void setChildren (void* nodePtr, void** childPtr, unsigned int numChildren, void* userPtr) |
| 57 | { |
nothing calls this directly
no test coverage detected