1、【修改】Types 插件日志中的几处单词拼写错误。

Signed-off-by: armink <armink.ztl@gmail.com>
pull/7/merge
armink 9 years ago
parent c6ae4645f2
commit cef1c187b9

@ -1,7 +1,7 @@
/*
* This file is part of the EasyFlash Library.
*
* Copyright (c) 2015, Armink, <armink.ztl@gmail.com>
* Copyright (c) 2015-2016, Armink, <armink.ztl@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -59,7 +59,7 @@ bool ef_get_bool(const char *key) {
if(value) {
return atoi(value) == 0 ? false : true;
} else {
EF_INFO("Could't found this ENV(%s)!\n", key);
EF_INFO("Couldn't found this ENV(%s)!\n", key);
return false;
}
}
@ -81,7 +81,7 @@ long ef_get_long(const char *key) {
if(value) {
return atol(value);
} else {
EF_INFO("Could't found this ENV(%s)!\n", key);
EF_INFO("Couldn't found this ENV(%s)!\n", key);
return NULL;
}
}
@ -95,7 +95,7 @@ double ef_get_double(const char *key) {
if(value) {
return atof(value);
} else {
EF_INFO("Could't found this ENV(%s)!\n", key);
EF_INFO("Couldn't found this ENV(%s)!\n", key);
return NULL;
}
}
@ -159,7 +159,7 @@ static void ef_get_array(const char *key, void *value, ef_array_types types) {
}
cJSON_Delete(array);
} else {
EF_INFO("Could't found this ENV(%s)!\n", key);
EF_INFO("Couldn't found this ENV(%s)!\n", key);
}
}

@ -1,7 +1,7 @@
/*
* This file is part of the EasyFlash Library.
*
* Copyright (c) 2015, Armink, <armink.ztl@gmail.com>
* Copyright (c) 2015-2016, Armink, <armink.ztl@gmail.com>
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
@ -33,8 +33,8 @@
#include <stdbool.h>
#include "struct2json\inc\s2j.h"
/* EasyLogger flash log plugin's software version number */
#define EF_TYPES_SW_VERSION "0.02.22"
/* EasyFlash types plugin's software version number */
#define EF_TYPES_SW_VERSION "0.11.03"
typedef cJSON *(*ef_types_set_cb)(void* struct_obj);
typedef void *(*ef_types_get_cb)(cJSON* json_obj);

Loading…
Cancel
Save