From b79112e5436c4b443c70ba3d62e4c35391224d63 Mon Sep 17 00:00:00 2001 From: xchaos Date: Tue, 23 Sep 2008 14:56:42 +0000 Subject: [PATCH] def_interface() in object demo git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@92 4bb87942-c103-4e5a-b51c-0ebff58f8515 --- demos/objects/objects-wiki.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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); }; -- 2.30.2