Daily bump.
[official-gcc.git] / gcc / jit / docs / index.rst
blob5def959ade61a6e5cf8c075a9fa65c5c70d59408
1 .. Copyright (C) 2014-2018 Free Software Foundation, Inc.
2    Originally contributed by David Malcolm <dmalcolm@redhat.com>
4    This is free software: you can redistribute it and/or modify it
5    under the terms of the GNU General Public License as published by
6    the Free Software Foundation, either version 3 of the License, or
7    (at your option) any later version.
9    This program is distributed in the hope that it will be useful, but
10    WITHOUT ANY WARRANTY; without even the implied warranty of
11    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12    General Public License for more details.
14    You should have received a copy of the GNU General Public License
15    along with this program.  If not, see
16    <http://www.gnu.org/licenses/>.
18 libgccjit
19 =========
21 This document describes `libgccjit <http://gcc.gnu.org/wiki/JIT>`_, an API
22 for embedding GCC inside programs and libraries.
24 Note that libgccjit is currently of "Alpha" quality;
25 the APIs are not yet set in stone, and they shouldn't be used in
26 production yet.
28 There are actually two APIs for the library:
30 * a pure C API: ``libgccjit.h``
32 * a C++ wrapper API: ``libgccjit++.h``.  This is a collection of "thin"
33   wrapper classes around the C API, to save typing.
35 Contents:
37 .. toctree::
38    :maxdepth: 2
40    intro/index.rst
41    topics/index.rst
42    cp/index.rst
43    internals/index.rst
46 Indices and tables
47 ==================
49 * :ref:`genindex`
50 * :ref:`modindex`
51 * :ref:`search`
53 .. Some notes:
55    The Sphinx C domain appears to lack explicit support for enum values,
56    so I've been using :c:macro: for them.
58    See http://sphinx-doc.org/domains.html#the-c-domain