From fcd903b7461ed8021b420b9581e989756d21c2b6 Mon Sep 17 00:00:00 2001 From: Gabriele Contini <gcontini@users.noreply.github.com> Date: 周六, 07 9月 2019 20:06:48 +0800 Subject: [PATCH] CentOS 7 tests --- src/library/api/datatypes.h | 19 +++++++++---------- 1 files changed, 9 insertions(+), 10 deletions(-) diff --git a/src/library/api/datatypes.h b/src/library/api/datatypes.h index 0326fb4..ed30576 100644 --- a/src/library/api/datatypes.h +++ b/src/library/api/datatypes.h @@ -1,17 +1,15 @@ #ifndef DATATYPES_H_ #define DATATYPES_H_ -/* - * This include file is the public api di License++ - * You should include this file if your software don't plan to use - * the part of the library dealing with features. - * Otherwise licensepp-features.h should be included. - */ #ifdef __cplusplus extern "C" { #endif +//definition of size_t +#include <stdlib.h> +#ifndef _MSC_VER #include <stdbool.h> +#endif #ifdef __unix__ #define DllExport @@ -24,8 +22,8 @@ #define PC_IDENTIFIER_SIZE 18 #define PROPRIETARY_DATA_SIZE 16 -#define LICENESE_INT_VERSION 100 -#define LICENSEPP_VERSION "1.0.0" +#define LICENESE_INT_VERSION 110 +#define LICENSEPP_VERSION "1.1.0" typedef enum { LICENSE_OK = 0, //OK @@ -49,7 +47,7 @@ } LICENSE_TYPE; typedef enum { - INFO, SEVERITY_WARN, SEVERITY_ERROR + SVRT_INFO, SVRT_WARN, SVRT_ERROR } SEVERITY; typedef struct { @@ -61,7 +59,8 @@ typedef struct { const char *licenseFileLocation; - const char *environmentVariableName;bool openFileNearModule; + const char *environmentVariableName; + bool openFileNearModule; } LicenseLocation; typedef struct { -- Gitblit v1.9.1