chiark
/
gitweb
/
~mdw
/
sod
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib/sod.h, test/chimaera.sod: Promote `SOD_DECL' to the library header.
[sod]
/
test
/
chimaera.sod
diff --git
a/test/chimaera.sod
b/test/chimaera.sod
index d748bb518e1cd63a96aeb200b3379944071e1ff3..cc72a47aa23d613d9dd8fd7908f040ac15ee8fdc 100644
(file)
--- a/
test/chimaera.sod
+++ b/
test/chimaera.sod
@@
-77,10
+77,6
@@
static void provoke_serpent(Serpent *s)
s->_vt->serpent.bite(s);
}
-#define SOD_DECL(cls_, var_) \
- struct cls_##__ilayout var_##__layout; \
- cls_ *var_ = cls_##__class->cls.init(&var_##__layout)
-
int main(void)
{
{