C++ bindings: rename local ctx variable to saved_ctx
commitee3c7f03c350a23976522c463569ffec90a1868b
authorSven Verdoolaege <sven@cerebras.net>
Wed, 7 Nov 2018 21:27:16 +0000 (7 13:27 -0800)
committerSven Verdoolaege <sven@cerebras.net>
Wed, 5 Dec 2018 08:51:59 +0000 (5 09:51 +0100)
tree3d238bb99feea52c9d4d8b05fd1452bf4e463208
parent64c34b571ae49b0a8f47b7acd65e255785ffbaca
C++ bindings: rename local ctx variable to saved_ctx

This will help avoiding conflicts when the get_ctx() method gets
renamed to ctx().
The check for the case where the first argument
is already called "ctx" is removed because
the first argument is never called "saved_ctx".

Signed-off-by: Sven Verdoolaege <sven@cerebras.net>
interface/cpp.cc