From 6d5018007b29365cde607fe39e975f9ba46856e4 Mon Sep 17 00:00:00 2001 From: Travis Cross Date: Sat, 25 May 2013 09:47:12 +0000 Subject: [PATCH] Add missing text editor local variable blocks --- libs/esl/src/esl.c | 10 ++++++++++ libs/esl/src/esl_json.c | 11 +++++++++++ libs/esl/src/esl_oop.cpp | 11 +++++++++++ libs/esl/src/include/esl_json.h | 11 +++++++++++ libs/esl/src/include/esl_oop.h | 11 +++++++++++ 5 files changed, 54 insertions(+) diff --git a/libs/esl/src/esl.c b/libs/esl/src/esl.c index 0da5fd2509..be40318661 100644 --- a/libs/esl/src/esl.c +++ b/libs/esl/src/esl.c @@ -1575,3 +1575,13 @@ ESL_DECLARE(unsigned int) esl_separate_string_string(char *buf, const char *deli return count; } +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4: + */ diff --git a/libs/esl/src/esl_json.c b/libs/esl/src/esl_json.c index cd0706d6cb..90688d057c 100644 --- a/libs/esl/src/esl_json.c +++ b/libs/esl/src/esl_json.c @@ -527,3 +527,14 @@ ESL_DECLARE(cJSON *)cJSON_CreateIntArray(int *numbers,int count) {int i;cJSON ESL_DECLARE(cJSON *)cJSON_CreateFloatArray(float *numbers,int count) {int i;cJSON *n=0,*p=0,*a=cJSON_CreateArray();for(i=0;a!=0 && ichild=n;else suffix_object(p,n);p=n;}return a;} ESL_DECLARE(cJSON *)cJSON_CreateDoubleArray(double *numbers,int count) {int i;cJSON *n=0,*p=0,*a=cJSON_CreateArray();for(i=0;a!=0 && ichild=n;else suffix_object(p,n);p=n;}return a;} ESL_DECLARE(cJSON *)cJSON_CreateStringArray(const char **strings,int count) {int i;cJSON *n=0,*p=0,*a=cJSON_CreateArray();for(i=0;a!=0 && ichild=n;else suffix_object(p,n);p=n;}return a;} + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4: + */ diff --git a/libs/esl/src/esl_oop.cpp b/libs/esl/src/esl_oop.cpp index 80e3c74db2..2b66d6eb7b 100644 --- a/libs/esl/src/esl_oop.cpp +++ b/libs/esl/src/esl_oop.cpp @@ -505,3 +505,14 @@ const char *ESLevent::getType(void) return (char *) "invalid"; } + +/* For Emacs: + * Local Variables: + * mode:c++ + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4: + */ diff --git a/libs/esl/src/include/esl_json.h b/libs/esl/src/include/esl_json.h index d3605cd8c7..758a30f3a9 100755 --- a/libs/esl/src/include/esl_json.h +++ b/libs/esl/src/include/esl_json.h @@ -125,3 +125,14 @@ ESL_DECLARE(void) cJSON_ReplaceItemInObject(cJSON *object,const char *string,cJS #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4: + */ diff --git a/libs/esl/src/include/esl_oop.h b/libs/esl/src/include/esl_oop.h index 9ffdae73a7..b5138bf590 100644 --- a/libs/esl/src/include/esl_oop.h +++ b/libs/esl/src/include/esl_oop.h @@ -107,3 +107,14 @@ void eslSetLogLevel(int level); #endif #endif + +/* For Emacs: + * Local Variables: + * mode:c++ + * indent-tabs-mode:t + * tab-width:4 + * c-basic-offset:4 + * End: + * For VIM: + * vim:set softtabstop=4 shiftwidth=4 tabstop=4: + */