]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
Add missing text editor local variable blocks
authorTravis Cross <tc@traviscross.com>
Sat, 25 May 2013 09:47:12 +0000 (09:47 +0000)
committerTravis Cross <tc@traviscross.com>
Wed, 29 May 2013 02:50:03 +0000 (02:50 +0000)
libs/esl/src/esl.c
libs/esl/src/esl_json.c
libs/esl/src/esl_oop.cpp
libs/esl/src/include/esl_json.h
libs/esl/src/include/esl_oop.h

index af967de708e8b68d3a1b56bc3344c77b177c1820..62afc54001542ac4a6fb8cb5700f891dc189d132 100644 (file)
@@ -1579,3 +1579,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:
+ */
index cd0706d6cb3297e11d0fe2f0e0aafc82da1fbe7c..90688d057ccb6d4a8c23911cdb872ab2a5ba3e34 100644 (file)
@@ -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 && i<count;i++){n=cJSON_CreateNumber(numbers[i]);if(!i)a->child=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 && i<count;i++){n=cJSON_CreateNumber(numbers[i]);if(!i)a->child=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 && i<count;i++){n=cJSON_CreateString(strings[i]);if(!i)a->child=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:
+ */
index 80e3c74db2142329918211ac9402d99bf18f1006..2b66d6eb7b6c26d30d84219e3e7b591e8f918920 100644 (file)
@@ -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:
+ */
index d3605cd8c777eaf4c098add98adf8f3ec270cdea..758a30f3a9da8c01ac23b4621981af020604c1c9 100755 (executable)
@@ -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:
+ */
index 9ffdae73a7c93a1f046a3d7d3380a90aa91ef1c9..b5138bf5905e2b148a49c726e443af20cbcdfd79 100644 (file)
@@ -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:
+ */