equal
deleted
inserted
replaced
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include <stdio.h> |
18 #include <stdio.h> |
19 #include <stdlib.h> |
19 #include <stdlib.h> |
20 #include <assert.h> |
|
21 |
20 |
22 #include "xaobjectitf.h" |
21 #include "xaobjectitf.h" |
23 |
22 |
24 /** |
23 /** |
25 * Base interface XAObjectItf implementation |
24 * Base interface XAObjectItf implementation |
338 const XAInterfaceID** itfIIDs, xaDoRealizeImpl doRealizeImpl, |
337 const XAInterfaceID** itfIIDs, xaDoRealizeImpl doRealizeImpl, |
339 xaDoResumeImpl doResumeImpl, xaFreeResourcesImpl freeResourcesImpl) |
338 xaDoResumeImpl doResumeImpl, xaFreeResourcesImpl freeResourcesImpl) |
340 { |
339 { |
341 XAuint32 i = 0; |
340 XAuint32 i = 0; |
342 DEBUG_API("->XAObjectItfImpl_Init"); |
341 DEBUG_API("->XAObjectItfImpl_Init"); |
343 |
|
344 assert( self && itfIIDs && doRealizeImpl && doResumeImpl && freeResourcesImpl ); |
|
345 |
342 |
346 self->interfaceMap = (XAObjItfMapEntry*) calloc(itfCount, |
343 self->interfaceMap = (XAObjItfMapEntry*) calloc(itfCount, |
347 sizeof(XAObjItfMapEntry)); |
344 sizeof(XAObjItfMapEntry)); |
348 if (!self->interfaceMap) |
345 if (!self->interfaceMap) |
349 { |
346 { |