strpattern_context_new()

Construct a context object for pattern matching on the heap.

Synopsis:

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

Arguments:

err

STRPATTERN_EOK if there is no error.

Library:

libstrpattern

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: 2013-12-21

comments powered by Disqus