Commit 18204a60300639cd9028560941555e6e77988b60
1 parent
05fcd37f
remove inline stuff for now ... add carefully again later perhaps
Showing
6 changed files
with
5 additions
and
10 deletions
| ... | ... | @@ -73,8 +73,8 @@ struct class { |
| 73 | 73 | struct iface_impl impl; |
| 74 | 74 | }; |
| 75 | 75 | |
| 76 | -extern inline void * class_getInterface(class_ptr *, iface_ptr); | |
| 77 | -extern inline class_ptr class_getClass(void *); | |
| 76 | +extern void * class_getInterface(class_ptr *, iface_ptr); | |
| 77 | +extern class_ptr class_getClass(void *); | |
| 78 | 78 | |
| 79 | 79 | #endif // __CLASS_H__ |
| 80 | 80 | ... | ... |
| ... | ... | @@ -19,8 +19,8 @@ struct i_Class { |
| 19 | 19 | fptr_clone clone; |
| 20 | 20 | }; |
| 21 | 21 | |
| 22 | -extern inline void * classNew(class_ptr, ...); | |
| 23 | -extern inline void classDelete(void **); | |
| 22 | +extern void * classNew(class_ptr, ...); | |
| 23 | +extern void classDelete(void **); | |
| 24 | 24 | |
| 25 | 25 | #define new(class,...) classNew(_##class, __VA_ARGS__) |
| 26 | 26 | #define delete(object) classDelete((void **)(object)) | ... | ... |
| ... | ... | @@ -4,7 +4,6 @@ |
| 4 | 4 | #include "class.h" |
| 5 | 5 | #include "interface.h" |
| 6 | 6 | |
| 7 | -inline | |
| 8 | 7 | void * |
| 9 | 8 | class_getInterface(class_ptr * class, iface_ptr _iface) |
| 10 | 9 | { |
| ... | ... | @@ -18,7 +17,6 @@ class_getInterface(class_ptr * class, iface_ptr _iface) |
| 18 | 17 | return iface; |
| 19 | 18 | } |
| 20 | 19 | |
| 21 | -inline | |
| 22 | 20 | class_ptr |
| 23 | 21 | class_getClass(void * object) |
| 24 | 22 | { | ... | ... |
| ... | ... | @@ -11,7 +11,6 @@ struct interface i_Class = { |
| 11 | 11 | 3 |
| 12 | 12 | }; |
| 13 | 13 | |
| 14 | -inline | |
| 15 | 14 | void * |
| 16 | 15 | classNew(class_ptr class, ...) |
| 17 | 16 | { |
| ... | ... | @@ -30,7 +29,6 @@ classNew(class_ptr class, ...) |
| 30 | 29 | return object; |
| 31 | 30 | } |
| 32 | 31 | |
| 33 | -inline | |
| 34 | 32 | void |
| 35 | 33 | classDelete(void ** object) |
| 36 | 34 | { | ... | ... |
Please
register
or
login
to post a comment