summaryrefslogtreecommitdiff
path: root/src/bin/eldbus
diff options
context:
space:
mode:
authorMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 11:09:01 +0100
committerMike Blumenkrantz <m.blumenkran@samsung.com>2013-06-19 11:18:47 +0100
commite2ba21e26624be8d17abe2019929fe19fcb0bf45 (patch)
tree49dff1eda9a3ffc53b1c5fa4b9f0bff8adaadd2b /src/bin/eldbus
parentb8ea27d53c14c0b5619554ecec06e2a147d9ed23 (diff)
use sizeof for eldbus-codegen internal define lengths
Diffstat (limited to 'src/bin/eldbus')
-rw-r--r--src/bin/eldbus/parser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/bin/eldbus/parser.c b/src/bin/eldbus/parser.c
index 7ed0dfeaff..9f4081fc13 100644
--- a/src/bin/eldbus/parser.c
+++ b/src/bin/eldbus/parser.c
@@ -1,19 +1,19 @@
1#include "codegen.h" 1#include "codegen.h"
2 2
3#define OBJECT_TAG "node" 3#define OBJECT_TAG "node"
4#define OBJECT_TAG_LENGTH strlen(OBJECT_TAG) 4#define OBJECT_TAG_LENGTH sizeof(OBJECT_TAG) - 1
5#define INTERFACE_TAG "interface" 5#define INTERFACE_TAG "interface"
6#define INTERFACE_TAG_LENGTH strlen(INTERFACE_TAG) 6#define INTERFACE_TAG_LENGTH sizeof(INTERFACE_TAG) - 1
7#define SIGNAL_TAG "signal" 7#define SIGNAL_TAG "signal"
8#define SIGNAL_TAG_LENGTH strlen(SIGNAL_TAG) 8#define SIGNAL_TAG_LENGTH sizeof(SIGNAL_TAG) - 1
9#define METHOD_TAG "method" 9#define METHOD_TAG "method"
10#define METHOD_TAG_LENGTH strlen(METHOD_TAG) 10#define METHOD_TAG_LENGTH sizeof(METHOD_TAG) - 1
11#define PROPERTY_TAG "property" 11#define PROPERTY_TAG "property"
12#define PROPERTY_TAG_LENGTH strlen(PROPERTY_TAG) 12#define PROPERTY_TAG_LENGTH sizeof(PROPERTY_TAG) - 1
13#define ARG_TAG "arg" 13#define ARG_TAG "arg"
14#define ARG_TAG_LENGTH strlen(ARG_TAG) 14#define ARG_TAG_LENGTH sizeof(ARG_TAG) - 1
15#define ANNOTATION_TAG "annotation" 15#define ANNOTATION_TAG "annotation"
16#define ANNOTATION_TAG_LENGTH strlen(ANNOTATION_TAG) 16#define ANNOTATION_TAG_LENGTH sizeof(ANNOTATION_TAG) - 1
17 17
18//attributes 18//attributes
19#define NAME_ATTR "name" 19#define NAME_ATTR "name"