Begin templating
This commit is contained in:
@@ -13,9 +13,10 @@ namespace pywrap {
|
||||
pyWrap->clean(module, className);
|
||||
}
|
||||
|
||||
void PyClassifier::callMethod(const std::string& method)
|
||||
template<typename T>
|
||||
T PyClassifier::callMethod(const std::string& method)
|
||||
{
|
||||
pyWrap->callMethod(module, className, method);
|
||||
return pyWrap->callMethod<T>(module, className, method);
|
||||
}
|
||||
|
||||
} /* namespace PyWrap */
|
Reference in New Issue
Block a user