Initialize the state structure for the find-replace operation.
IppStatus ippsRegExpReplaceInit(const Ipp8u* pSrcReplacement, IppRegExpReplaceState* pReplaceState);
pSrcReplacement |
Pointer to the source null-terminated replace pattern. |
pReplaceState |
Pointer to the state structure for the find and replace operation. |
The function ippsRegExpReplaceInit is declared in the ippch.h file. This function initializes a state structure pState for the find and replace operation in the external buffer. The size of this buffer must be computed previously by calling the function ippsRegExpReplaceGetSize.
Value of the parameter pSrcReplacement must be the same as used for the ippsRegExpReplaceGetSize function call.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error when the pReplaceState or pSrcReplacement pointer is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.