Love Hornquist Astrand
49aea1f0b3
allow TSetOf to be sequence types too
2010-08-10 10:33:25 -07:00
Love Hörnquist Åstrand
6937d41a02
remove trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23815 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 09:21:03 +00:00
Love Hörnquist Åstrand
e172367898
switch to utf8 encoding of all files
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@23814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-09-13 08:53:55 +00:00
Love Hörnquist Åstrand
99212e8b87
Handle the case of resize to 0 and realloc that returns NULL.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@20561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2007-04-24 16:14:30 +00:00
Love Hörnquist Åstrand
8ddc3d0462
In generation of remove_TYPE: if you just removed the last element,
...
you must not memmove memory beyond the array.
From Andrew Bartlett
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18218 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-10-04 10:18:10 +00:00
Love Hörnquist Åstrand
22937a1975
fix warning.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18012 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 14:00:14 +00:00
Love Hörnquist Åstrand
acd214041b
make generated data work
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18011 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 13:55:38 +00:00
Love Hörnquist Åstrand
413862a22b
Add generated add_ and remove_ for "SEQUENCE OF TType". I'm tried of
...
writing realloc(foo->data, sizeof(foo->data[0]) + (foo->len + 1));
Only generated for those type that is enabled by the command flag --sequence.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18005 ec53bebd-3082-4978-b11e-865c3cabbd6b
2006-09-05 12:23:54 +00:00