From 66e1e6a181b2f35d8abea971d918f5e29f19a5dd Mon Sep 17 00:00:00 2001 From: Matt Hill Date: Tue, 18 Oct 2016 20:54:52 -0400 Subject: [PATCH] Added prefix to is_loaded function --- src/bindings/c/alpr_c.cpp | 2 +- src/bindings/c/alpr_c.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/bindings/c/alpr_c.cpp b/src/bindings/c/alpr_c.cpp index 0f8cef4..a79ec6c 100644 --- a/src/bindings/c/alpr_c.cpp +++ b/src/bindings/c/alpr_c.cpp @@ -30,7 +30,7 @@ OPENALPRC_DLL_EXPORT OPENALPR* openalpr_init(const char* country, const char* co return (OPENALPR*) alpr_inst; } -OPENALPRC_DLL_EXPORT int is_loaded(OPENALPR* instance) +OPENALPRC_DLL_EXPORT int openalpr_is_loaded(OPENALPR* instance) { return (int) ((alpr::Alpr*) instance)->isLoaded(); } diff --git a/src/bindings/c/alpr_c.h b/src/bindings/c/alpr_c.h index 278b7a5..cf00ccc 100644 --- a/src/bindings/c/alpr_c.h +++ b/src/bindings/c/alpr_c.h @@ -45,7 +45,7 @@ struct AlprCRegionOfInterest OPENALPR* openalpr_init(const char* country, const char* configFile, const char* runtimeDir); // Returns 1 if the library was loaded successfully, 0 otherwise -int is_loaded(OPENALPR* instance); +int openalpr_is_loaded(OPENALPR* instance); // Set the country used for plate recognition void openalpr_set_country(OPENALPR* instance, const char* country);