Commit 115b480f authored by Tiago Peixoto's avatar Tiago Peixoto
Browse files

Remove internal properties from run_action code

parent 025fe7d6
......@@ -130,7 +130,9 @@ def inline(g, code, arg_names=[], local_dict=None,
# check if exception was thrown
if ret_vals["__exception_thrown"]:
del ret_vals["__exception_thrown"]
del ret_vals["__exception_error"]
sys.setdlopenflags(orig_dlopen_flags) # reset dlopen to normal case to
# avoid unnecessary symbol collision
return ret_vals
......@@ -40,8 +40,7 @@ template <class Action>
void RunAction(GraphInterface &g, const Action& a)
run_action<>()(g, lambda::bind<void>(a, lambda::_1, g._vertex_index,
......@@ -67,8 +66,7 @@ struct action_${code_hash}
template <class Graph, class VertexIndex, class EdgeIndex>
void operator()(Graph* __gp, VertexIndex vertex_index,
EdgeIndex edge_index,
dynamic_properties& properties) const
EdgeIndex edge_index) const
Graph& g = *__gp;
// convenience typedefs
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment