Code

object: Let create_simple() accept an optional destructor.
authorSebastian Harl <sh@tokkee.org>
Mon, 31 Mar 2014 20:41:37 +0000 (22:41 +0200)
committerSebastian Harl <sh@tokkee.org>
Mon, 31 Mar 2014 20:41:37 +0000 (22:41 +0200)
commita6aba8073470766a456ee417cd948fe56c1e4f2c
tree86f9330b2a9ded3d0e10ae501135361556baed5d
parentdf33553d47332afc7951ef6d54d0685ea26390c5
object: Let create_simple() accept an optional destructor.

This is still simple but it allows for some more dynamic.
src/core/object.c
src/include/core/object.h
t/core/object_test.c