From: xchaos Date: Tue, 23 Sep 2008 14:56:42 +0000 (+0000) Subject: def_interface() in object demo X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=b79112e5436c4b443c70ba3d62e4c35391224d63;p=svn%2FCll1h%2F.git def_interface() in object demo git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@92 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- diff --git a/demos/objects/objects-wiki.c b/demos/objects/objects-wiki.c index 8b6251a..871488b 100644 --- a/demos/objects/objects-wiki.c +++ b/demos/objects/objects-wiki.c @@ -6,9 +6,7 @@ Of course there are easier ways to do the same thing... :-) (G)2008 xChas */ -def_type(Animal); - -def_mem(Actions) +def_interface(Animal,Actions) { str method(talk) (Animal self); };