def_interface() in object demo
authorxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Tue, 23 Sep 2008 14:56:42 +0000 (14:56 +0000)
committerxchaos <xchaos@4bb87942-c103-4e5a-b51c-0ebff58f8515>
Tue, 23 Sep 2008 14:56:42 +0000 (14:56 +0000)
git-svn-id: https://dev.arachne.cz/repos/cll1h/trunk@92 4bb87942-c103-4e5a-b51c-0ebff58f8515

demos/objects/objects-wiki.c

index 8b6251af9462fe808ff53cf493eee8a6a08b4158..871488b2686ecdb89dc969b607ea63e6042cb0ef 100644 (file)
@@ -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);
 };
This page took 0.237437 seconds and 4 git commands to generate.