~ubuntu-branches/ubuntu/breezy/tiemu/breezy

« back to all changes in this revision

Viewing changes to docs/vat/fld_list.c.c

  • Committer: Bazaar Package Importer
  • Author(s): Julien BLACHE
  • Date: 2005-06-02 16:50:15 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050602165015-59ab24414tl2wzol
Tags: 1.99+svn1460-1
* New snapshot.
* debian/control:
  + Updated build-depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// C Source File
 
2
// Created 25/02/2005; 10:25:37
 
3
 
 
4
#include <tigcclib.h>
 
5
 
 
6
// Main Function
 
7
void _main(void)
 
8
{
 
9
        HSym sym;
 
10
        HANDLE folder;
 
11
        HANDLE top;
 
12
        
 
13
        // Use SymFindHome
 
14
        sym = SymFindHome(SYMSTR("main"));
 
15
        folder = sym.folder;
 
16
        
 
17
        // Use DerefSym
 
18
        top = DerefSym(SymFindHome(SYMSTR("main")))->handle;
 
19
        printf("%04x %04x\n", folder, top);
 
20
}