From 44c1aeef226542d692f0002b5cca5a3c30935d18 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 10 Sep 2016 10:43:19 -0700 Subject: 3315 --- html/026call.cc.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) (limited to 'html/026call.cc.html') diff --git a/html/026call.cc.html b/html/026call.cc.html index 6acdb8a6..ca151665 100644 --- a/html/026call.cc.html +++ b/html/026call.cc.html @@ -103,29 +103,29 @@ routine::routine(recipe_ordinal r} :(code) -inline call& current_call() { +call& current_call() { return Current_routine->calls.front(); } //:: now update routine's helpers -:(replace{} "inline int& current_step_index()") -inline int& current_step_index() { +:(replace{} "int& current_step_index()") +int& current_step_index() { assert(!Current_routine->calls.empty()); return current_call().running_step_index; } -:(replace{} "inline const string& current_recipe_name()") -inline const string& current_recipe_name() { +:(replace{} "const string& current_recipe_name()") +const string& current_recipe_name() { assert(!Current_routine->calls.empty()); return get(Recipe, current_call().running_recipe).name; } -:(replace{} "inline const instruction& current_instruction()") -inline const instruction& current_instruction() { +:(replace{} "const instruction& current_instruction()") +const instruction& current_instruction() { assert(!Current_routine->calls.empty()); return to_instruction(current_call()); } :(code) -inline const instruction& to_instruction(const call& call) { +const instruction& to_instruction(const call& call) { return get(Recipe, call.running_recipe).steps.at(call.running_step_index); } @@ -174,13 +174,13 @@ def main [ //:: finally, we need to fix the termination conditions for the run loop -:(replace{} "inline bool routine::completed() const") -inline bool routine::completed() const { +:(replace{} "bool routine::completed() const") +bool routine::completed() const { return calls.empty(); } -:(replace{} "inline const vector<instruction>& routine::steps() const") -inline const vector<instruction>& routine::steps() const { +:(replace{} "const vector<instruction>& routine::steps() const") +const vector<instruction>& routine::steps() const { assert(!calls.empty()); return get(Recipe, calls.front().running_recipe).steps; } -- cgit 1.4.1-2-gfad0