| 181 | } |
| 182 | |
| 183 | int CppiaModule::getInterfaceSlot(const std::string &inName) |
| 184 | { |
| 185 | InterfaceSlots::iterator it = interfaceSlots.find(inName); |
| 186 | if (it==interfaceSlots.end()) |
| 187 | { |
| 188 | int result = interfaceSlots.size()+1; |
| 189 | interfaceSlots[inName] = result; |
| 190 | return result; |
| 191 | } |
| 192 | return it->second; |
| 193 | } |
| 194 | |
| 195 | |
| 196 | int CppiaModule::findInterfaceSlot(const std::string &inName) |