Changes in libcfa/prelude/builtins.c [e84ab3d:88ac8672]
- File:
-
- 1 edited
-
libcfa/prelude/builtins.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
libcfa/prelude/builtins.c
re84ab3d r88ac8672 57 57 58 58 // generator support 59 struct generator${59 struct $generator { 60 60 inline int; 61 61 }; 62 62 63 static inline void ?{}( generator$& this) { ((int&)this) = 0; }64 static inline void ^?{}( generator$&) {}63 static inline void ?{}($generator & this) { ((int&)this) = 0; } 64 static inline void ^?{}($generator &) {} 65 65 66 66 trait is_generator(T &) { 67 67 void main(T & this); 68 generator$* get_generator(T & this);68 $generator * get_generator(T & this); 69 69 }; 70 70
Note:
See TracChangeset
for help on using the changeset viewer.