Sets the value of the matchLimit parameter.
IppStatus ippsRegExpSetMatchLimit(int matchLimit, IppRegExpState* pRegExpState);
matchLimit |
Value of the of the matches kept in stack. |
pRegExpState |
Pointer to the structure containing internal form of a regular expression. |
The function ippsRegExpSetMatchLimit is declared in the ippch.h file. This function sets the value of the parameter matchLimit that specifies how many times the function ippsRegExpFind can be called through the single execution avoiding the possible stack overflow. The default value is set very large, so you should set this parameter to the reasonable value in accordance with your needs.
ippStsNoErr |
Indicates no error. |
ippStsNullPtrErr |
Indicates an error condition if the pRegExpState pointer is NULL. |
Copyright © 2000 - 2010, Intel Corporation. All rights reserved.