Fix gcc_jit_context_get_last_error docs
authorDavid Malcolm <dmalcolm@redhat.com>
Tue, 27 Jan 2015 00:11:21 +0000 (00:11 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Tue, 27 Jan 2015 00:11:21 +0000 (00:11 +0000)
commitdc44ee3aef6fab2e760479c6fc9205838bd9fbcc
treeb8a7c53b8a35bbb44beb7ef4f944b64e3bddf2c2
parent48e4f473eb23e4bf95e517f9eb83272316674c16
Fix gcc_jit_context_get_last_error docs

gcc/jit/ChangeLog:
* docs/topics/compilation.rst (gcc_jit_result_get_code): Fix typo.
* docs/topics/contexts.rst (gcc_jit_context_get_last_error): The
error buffer is only valid until the next call to the context.
* libgccjit.h (gcc_jit_context_get_first_error): Reword the
comment to omit mention of compiling.
(gcc_jit_context_get_last_error): The error buffer is only valid
until the next call to the context.

From-SVN: r220145
gcc/jit/ChangeLog
gcc/jit/docs/_build/texinfo/libgccjit.texi
gcc/jit/docs/topics/compilation.rst
gcc/jit/docs/topics/contexts.rst
gcc/jit/libgccjit.h