From 73c7a6870b4a37c50f302b90668ff4686c81e6a1 Mon Sep 17 00:00:00 2001 From: scream3r Date: Mon, 22 Apr 2013 10:12:52 +0400 Subject: [PATCH] Added constants into jssc_SerialNativeInterface.h header file --- src/cpp/jssc_SerialNativeInterface.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/cpp/jssc_SerialNativeInterface.h b/src/cpp/jssc_SerialNativeInterface.h index 3b97e35..039872d 100644 --- a/src/cpp/jssc_SerialNativeInterface.h +++ b/src/cpp/jssc_SerialNativeInterface.h @@ -39,6 +39,12 @@ extern "C" { #define jssc_SerialNativeInterface_OS_SOLARIS 2L #undef jssc_SerialNativeInterface_OS_MAC_OS_X #define jssc_SerialNativeInterface_OS_MAC_OS_X 3L +#undef jssc_SerialNativeInterface_ERR_PORT_BUSY +#define jssc_SerialNativeInterface_ERR_PORT_BUSY -1L +#undef jssc_SerialNativeInterface_ERR_PORT_NOT_FOUND +#define jssc_SerialNativeInterface_ERR_PORT_NOT_FOUND -2L +#undef jssc_SerialNativeInterface_ERR_PERMISSION_DENIED +#define jssc_SerialNativeInterface_ERR_PERMISSION_DENIED -3L /* * Class: jssc_SerialNativeInterface * Method: openPort