GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
def_interface() { } macro
[svn/Cll1h/.git]
/
demos
/
objects
/
objects-community.c
diff --git
a/demos/objects/objects-community.c
b/demos/objects/objects-community.c
index 5b005636bdd2b04ffe6c0b8ca6fd8f28091fed39..2ed93ec2c80fd79c4ef1d5f7635c88e05d616601 100644
(file)
--- a/
demos/objects/objects-community.c
+++ b/
demos/objects/objects-community.c
@@
-2,9
+2,7
@@
/* This is example of advanced C<<1 object oriented features... */
-def_type(Shape);
-
-def_mem(Interface)
+def_interface(Shape, Interface)
{
void method(draw) (Shape self);
void method(move) (Shape self, int x, int y);
This page took
0.09289 seconds
and
4
git commands to generate.