mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-06 12:46:55 +08:00
Merge pull request #85 from ddobrev/master
Exposed the third param for a run-time dir to the C# binding thus preventing crashes
This commit is contained in:
@@ -295,7 +295,7 @@ namespace openalprnet {
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
// Allocate the native object on the C++ Heap via a constructor
|
// Allocate the native object on the C++ Heap via a constructor
|
||||||
AlprNet(System::String^ country, System::String^ configFile) : m_Impl( new Alpr(marshal_as<std::string>(country), marshal_as<std::string>(configFile)) ) { }
|
AlprNet(System::String^ country, System::String^ configFile, System::String^ runtimeDir) : m_Impl( new Alpr(marshal_as<std::string>(country), marshal_as<std::string>(configFile), marshal_as<std::string>(runtimeDir)) ) { }
|
||||||
|
|
||||||
// Deallocate the native object on a destructor
|
// Deallocate the native object on a destructor
|
||||||
~AlprNet(){
|
~AlprNet(){
|
||||||
|
Reference in New Issue
Block a user