MCPcopy Create free account
hub / github.com/Exiv2/exiv2 / WXMPIterator_IncrementRefCount_1

Function WXMPIterator_IncrementRefCount_1

xmpsdk/src/WXMPIterator.cpp:78–90  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76// -------------------------------------------------------------------------------------------------
77
78void
79WXMPIterator_IncrementRefCount_1 ( XMPIteratorRef iterRef )
80{
81 WXMP_Result * wResult = &void_wResult; // ! Needed to "fool" the EnterWrapper macro.
82 XMP_ENTER_WRAPPER ( "WXMPIterator_IncrementRefCount_1" )
83
84 XMPIterator * thiz = (XMPIterator*)iterRef;
85
86 ++thiz->clientRefs;
87 XMP_Assert ( thiz->clientRefs > 1 );
88
89 XMP_EXIT_WRAPPER_NO_THROW
90}
91
92// -------------------------------------------------------------------------------------------------
93

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected