summaryrefslogtreecommitdiff
path: root/src/bin/eolian
diff options
context:
space:
mode:
authorDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
committerDaniel Kolesa <d.kolesa@samsung.com>2019-05-26 17:25:15 +0200
commitd0fed247bbb18933b3d5c086126ac0f7b8d05e76 (patch)
tree875995d0b38022dcad4fac08a4d454254a6648bc /src/bin/eolian
parent38d7d33354ce4d13d70f707498c267b120bf2e5a (diff)
eolian: remove param @nonull
This has been deprecated for a while and is not strictly necessary - as a part of an effort to stabilize Eolian, remove this. Eolian will eventually gain support for versioning and use a reversed behavior (i.e. no NULL by default), but the API it wlll use for that will be very different. Features can always be added, it's much harder to drop them. @feature
Diffstat (limited to 'src/bin/eolian')
-rw-r--r--src/bin/eolian/headers.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/bin/eolian/headers.c b/src/bin/eolian/headers.c
index 63f38fe..9da3d74 100644
--- a/src/bin/eolian/headers.c
+++ b/src/bin/eolian/headers.c
@@ -51,6 +51,8 @@ eo_gen_params(Eina_Iterator *itr, Eina_Strbuf *buf,
51 eina_strbuf_append(buf, ", "); 51 eina_strbuf_append(buf, ", ");
52 *nidx += _gen_param(buf, pr, ftype, &rpid); 52 *nidx += _gen_param(buf, pr, ftype, &rpid);
53 53
54 /* Keep the logic for when there's a better way to emit NONNULL */
55#if 0
54 if (!eolian_parameter_is_nonull(pr) || !flagbuf) 56 if (!eolian_parameter_is_nonull(pr) || !flagbuf)
55 continue; 57 continue;
56 58
@@ -61,6 +63,9 @@ eo_gen_params(Eina_Iterator *itr, Eina_Strbuf *buf,
61 } 63 }
62 else 64 else
63 eina_strbuf_append_printf(*flagbuf, ", %d", *nidx - rpid); 65 eina_strbuf_append_printf(*flagbuf, ", %d", *nidx - rpid);
66#else
67 (void)flagbuf;
68#endif
64 } 69 }
65 eina_iterator_free(itr); 70 eina_iterator_free(itr);
66} 71}