9c312311 |
1 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> |
2 | <html> |
3 | <head> |
4 | <title>Coding practices</title> |
5 | </head> |
6 | <body> |
7 | |
8 | <h1>Coding practices</h1> |
9 | |
10 | <p> |
11 | The Linux Trace Toolkit viewer and libltt libraries use the coding standards |
12 | of the underlying <A HREF="www.gtk.org">glib and gtk libraries</A>. |
13 | This includes: |
14 | |
15 | <UL> |
16 | <LI>lower case file names without underscore but with an occasional dash, |
17 | <LI>lower case function names with underscores separating words, |
18 | <LI>type names starting with a capital letter and with capital letters |
19 | separating words. |
20 | </UL> |
21 | |
22 | <P> |
23 | Each file in the libltt library should contain a |
24 | <A HREF=library-header.txt">LGPL header</A> while each file in the LTT viewer |
25 | should contain a |
26 | <A HREF=library-header.txt">GPL header</A>. |
27 | |
28 | </body> |
29 | </html> |
30 | |
31 | |
32 | |