root/trunk/src/tutorials/examples/ddoc/priv_test.d

Revision 6, 0.5 kB (checked in by jcc7, 3 years ago)

Made more progress in developing convertToWiki and added some files.

Line 
1 module priv_test;
2
3 private bool SomeVariable; /// Hi
4 private bit SomeVariable2; /// Hi2
5
6 public bool SomeVariable3; /// Hi3
7 public bit SomeVariable4; /// Hi4
8
9 version(testVersion2)
10 {
11     public bit SomeVariable5; /// Hi5
12 }
13
14 version(testVersion)
15 {
16     public:
17 }
18 else
19 {
20     private:
21 }
22 bit SomeVariable6; /// bit6
23
24 version(testVersion)
25 {
26     public:
27 }
28 else
29 {
30     private:
31 }
32
33 extern(C) void func() {return;} /// Some function
34
35 public extern(C) void func2() {return;} /// Some function (too)
Note: See TracBrowser for help on using the browser.