]> git.ozlabs.org Git - ccan/commit
Add alloc_size(): every allocator has to be able to answer this, since
authorRusty Russell <rusty@vivaldi>
Sun, 29 Jun 2008 09:03:53 +0000 (19:03 +1000)
committerRusty Russell <rusty@vivaldi>
Sun, 29 Jun 2008 09:03:53 +0000 (19:03 +1000)
commit1d7e593d2221690abd8010d4d572984ef2be4d21
tree77d97e2e68e8fa56cf4d3dd7fdc87b3914e8719d
parent4239dd56d06be573c5cbf8fdf1ab0995cbd4bc66
Add alloc_size(): every allocator has to be able to answer this, since
free() doesn't have a size arg.
ccan/alloc/alloc.c
ccan/alloc/alloc.h
ccan/alloc/test/run-testsize.c [new file with mode: 0644]
ccan/alloc/test/run.c