source:
doc/theses/mike_brooks_MMath/programs/sharectx-demo.cfa
@
43d9679
Last change on this file since 43d9679 was 5546f50b, checked in by , 6 months ago | |
---|---|
|
|
File size: 304 bytes |
Rev | Line | |
---|---|---|
[bbf6a180] | 1 | #include <string.hfa> |
2 | #include <string_sharectx.hfa> | |
3 | ||
4 | void a() {} | |
5 | void b() {} | |
6 | void c() {} | |
7 | void d() {} | |
8 | void e() {} | |
9 | ||
10 | ||
11 | ||
12 | ||
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | void helper2() { | |
[5546f50b] | 21 | c(); |
22 | string_sharectx c = {NEW_SHARING}; | |
23 | d(); | |
[bbf6a180] | 24 | } |
25 | void helper1() { | |
[5546f50b] | 26 | a(); |
27 | string_sharectx c = {NO_SHARING}; | |
28 | b(); | |
29 | helper2(); | |
30 | e(); | |
[bbf6a180] | 31 | } |
32 | int main() { | |
[5546f50b] | 33 | helper1(); |
[bbf6a180] | 34 | } |
35 |
Note: See TracBrowser
for help on using the repository browser.