Releases INKMLoc
handles.
INKReturnCode INKHandleMLocRelease (INKMBuffer
bufp
, INKMLoc
parent
, INKMLoc
mloc
)
is the
marshal buffer containing the bufp
INKMLoc
to
be released.
is the
location of the parent object from which the handle was
created.parent
is the
mloc
INKMLoc
to be released.
Releases the INKMLoc
mloc created
from the INKMLoc
parent. If there is no
parent INKMLoc
, then use
INK_NULL_MLOC
. See Release Marshal Buffer Handle for details about parent
INKMLocs
and the use of the null
parent.
INK_SUCCESS
if the handle is successfully
released.
INK_ERROR
if the hook is not added.
Releases string handles.
InkReturnCode INKHandleStringRelease (INKMBuffer
bufp
, INKMLoc
parent
, const char
*str
)
is the
marshal buffer containing the string to be released.bufp
is the
location of the parent object from which the handle was
created.parent
is the
string to be released.str
Releases the string
created from the
str
INKMLoc
parent. Do not use
INKHandleStringRelease
for strings
created by INKUrlStringGet
(in that
special case, use INKfree
).
INK_SUCCESS
if the string handle is
successfully released.
INK_ERROR
if the hook is not added.