Fix gcc_jit_context_get_last_error docs
commit9cca2e9529f61f59d0f4ef04866fd41bf1d5455a
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2015 00:11:21 +0000 (27 00:11 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 27 Jan 2015 00:11:21 +0000 (27 00:11 +0000)
treeb8a7c53b8a35bbb44beb7ef4f944b64e3bddf2c2
parentda519e84eebe91ed7b121b2a57171d28e1fedb29
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@220145 138bc75d-0d04-0410-961f-82ee72b054a4
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