strpattern_context_new()

Construct a context object for pattern matching on the heap.

Synopsis:

#include <strpattern.h>
 
strpattern_context* strpattern_context_new(int *err)

Since:

BlackBerry 10.0.0

Arguments:

err

STRPATTERN_EOK if there is no error.

Library:

libstrpattern (For the qcc command, use the -l strpattern option to link against this library)

Description:

The context can be used to specify pattern-matching parameters. See the corresponding context-related functions for information about the parameters and their default values.

Returns:

A pointer to the constructed context object (NULL on error). Ownership is transferred to the caller.

Last modified: 2014-05-14



Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus