[syslinux:master] hdt: Moving define for more coherency

syslinux-bot for Erwan Velu erwanaliasr1 at gmail.com
Mon Apr 25 15:28:38 PDT 2011


Commit-ID:  4de1fbb77e587c2d6ebca54cbe6d8bf9020c8480
Gitweb:     http://syslinux.zytor.com/commit/4de1fbb77e587c2d6ebca54cbe6d8bf9020c8480
Author:     Erwan Velu <erwanaliasr1 at gmail.com>
AuthorDate: Thu, 31 Mar 2011 21:55:12 +0200
Committer:  Erwan Velu <erwanaliasr1 at gmail.com>
CommitDate: Thu, 31 Mar 2011 21:55:12 +0200

hdt: Moving define for more coherency



---
 com32/hdt/hdt-dump.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/com32/hdt/hdt-dump.h b/com32/hdt/hdt-dump.h
index a99be91..d286562 100644
--- a/com32/hdt/hdt-dump.h
+++ b/com32/hdt/hdt-dump.h
@@ -46,12 +46,12 @@
 #define END_OF_APPEND NULL)); *item=temp_array;
 
 // Macros to manipulate objects
-
 #define CREATE_NEW_OBJECT *item = zzjson_create_object(config, NULL);
+#define FLUSH_OBJECT zzjson_print(config, *item); zzjson_free(config, *item);
+
 // Macros to manipulate integers as objects
 #define add_i(name,value) *item = zzjson_object_append(config, *item, name, zzjson_create_number_i(config, value))
 #define add_hi(value) add_i(#value,hardware->value)
-#define FLUSH_OBJECT zzjson_print(config, *item); zzjson_free(config, *item);
 
 // Macros to manipulate strings as objects
 #define add_s(name,value) *item = zzjson_object_append(config, *item, name, zzjson_create_string(config, value))



More information about the Syslinux-commits mailing list