• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<title>pcre2_maketables specification</title>
4</head>
5<body bgcolor="#FFFFFF" text="#00005A" link="#0066FF" alink="#3399FF" vlink="#2222BB">
6<h1>pcre2_maketables man page</h1>
7<p>
8Return to the <a href="index.html">PCRE2 index page</a>.
9</p>
10<p>
11This page is part of the PCRE2 HTML documentation. It was generated
12automatically from the original man page. If there is any nonsense in it,
13please consult the man page, in case the conversion went wrong.
14<br>
15<br><b>
16SYNOPSIS
17</b><br>
18<P>
19<b>#include &#60;pcre2.h&#62;</b>
20</P>
21<P>
22<b>const unsigned char *pcre2_maketables(pcre22_general_context *<i>gcontext</i>);</b>
23</P>
24<br><b>
25DESCRIPTION
26</b><br>
27<P>
28This function builds a set of character tables for character values less than
29256. These can be passed to <b>pcre2_compile()</b> in a compile context in order
30to override the internal, built-in tables (which were either defaulted or made
31by <b>pcre2_maketables()</b> when PCRE2 was compiled). See the
32<a href="pcre2_set_character_tables.html"><b>pcre2_set_character_tables()</b></a>
33page. You might want to do this if you are using a non-standard locale.
34</P>
35<P>
36If the argument is NULL, <b>malloc()</b> is used to get memory for the tables.
37Otherwise it must point to a general context, which can supply pointers to a
38custom memory manager. The function yields a pointer to the tables.
39</P>
40<P>
41There is a complete description of the PCRE2 native API in the
42<a href="pcre2api.html"><b>pcre2api</b></a>
43page and a description of the POSIX API in the
44<a href="pcre2posix.html"><b>pcre2posix</b></a>
45page.
46<p>
47Return to the <a href="index.html">PCRE2 index page</a>.
48</p>
49