Last change
on this file was b28ce93, checked in by Michael Brooks <mlbrooks@…>, 3 months ago |
Add POC illustrating generating headers from compile units
|
-
Property mode
set to
100644
|
File size:
440 bytes
|
Rev | Line | |
---|
[b28ce93] | 1 | // in full-option-A transitive semantics and demo-hybrid, includes a's functions
|
---|
| 2 | #import auto b
|
---|
| 3 |
|
---|
| 4 | // necessary only in full-option-B transitive semantics
|
---|
| 5 | // (unnecessary in demo's awkward hybrid semantics)
|
---|
| 6 | // #import static under_a
|
---|
| 7 |
|
---|
| 8 | //# $f
|
---|
| 9 | void over_b( struct b_t * p, int depth ) {
|
---|
| 10 | int printf( const char *, ... ); // scaffold
|
---|
| 11 | printf( "over_b -> a\n" );
|
---|
| 12 | a(& p->a, depth);
|
---|
| 13 | printf( "over_b -> b\n" );
|
---|
| 14 | b( p, depth);
|
---|
| 15 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.