aboutsummaryrefslogtreecommitdiff
path: root/gcc/jit/docs/cp
diff options
context:
space:
mode:
authorDavid Malcolm <dmalcolm@redhat.com>2014-12-11 17:50:56 +0000
committerDavid Malcolm <dmalcolm@gcc.gnu.org>2014-12-11 17:50:56 +0000
commit35291c7ddaae25735f7d22370b6c7a23f577e68b (patch)
tree05e5f04309d2edfeb6ce994e3b5775b2cfc0c90a /gcc/jit/docs/cp
parentfaa542268c86dcaebfd6f988f47c95b8005445bd (diff)
downloadgcc-35291c7ddaae25735f7d22370b6c7a23f577e68b.zip
gcc-35291c7ddaae25735f7d22370b6c7a23f577e68b.tar.gz
gcc-35291c7ddaae25735f7d22370b6c7a23f577e68b.tar.bz2
Document gccjit::context::set_str_option
gcc/jit/ChangeLog: * docs/cp/topics/contexts.rst (gccjit::context::set_str_option): Document new function. * docs/_build/texinfo/libgccjit.texi: Regenerate. From-SVN: r218636
Diffstat (limited to 'gcc/jit/docs/cp')
-rw-r--r--gcc/jit/docs/cp/topics/contexts.rst15
1 files changed, 12 insertions, 3 deletions
diff --git a/gcc/jit/docs/cp/topics/contexts.rst b/gcc/jit/docs/cp/topics/contexts.rst
index 72815fb..4becd51 100644
--- a/gcc/jit/docs/cp/topics/contexts.rst
+++ b/gcc/jit/docs/cp/topics/contexts.rst
@@ -148,9 +148,18 @@ Debugging
Options
-------
-..
- FIXME: gccjit::context::set_str_option doesn't seem to exist yet in the
- C++ API
+String Options
+**************
+
+.. function:: void \
+ gccjit::context::set_str_option (enum gcc_jit_str_option, \
+ const char *value)
+
+ Set a string option of the context.
+
+ This is a thin wrapper around the C API
+ :c:func:`gcc_jit_context_set_str_option`; the options have the same
+ meaning.
Boolean options
***************