p>
<b>#include &#60;pcre2.h&#62;</b>
</p>
<p>
<b>pcre2_general_context *pcre2_general_context_copy(</b>
<b>  pcre2_general_context *<i>gcontext</i>);</b>
</p>
<h2>
DESCRIPTION
</h2>
<p>
This function makes a new copy of a general context, using the memory
allocation functions in the context, if set, to get the necessary memory.
Otherwise <b>malloc()</b> is used. The result is NULL if the memory cannot be
obtained.
</p>
<p>
There is a complete description of the PCRE2 native API in the
<a href="pcre2api.html