| 138 | } |
| 139 | |
| 140 | void |
| 141 | ExtensionMgr::OutputInit(std::ostream &out) |
| 142 | { |
| 143 | if (ExtensionMgr::extension_ == NULL) { |
| 144 | if (CGOptions::accept_argc()) { |
| 145 | out << "int main (int argc, char* argv[])" << endl; |
| 146 | } |
| 147 | else { |
| 148 | out << "int main (void)" << endl; |
| 149 | } |
| 150 | out << "{" << endl; |
| 151 | } |
| 152 | else { |
| 153 | ExtensionMgr::extension_->OutputInit(out); |
| 154 | } |
| 155 | } |
| 156 | |
| 157 | void |
| 158 | ExtensionMgr::OutputFirstFunInvocation(std::ostream &out, FunctionInvocation *invoke) |
nothing calls this directly
no outgoing calls
no test coverage detected