Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 76 lines (65 sloc) 2.374 kb
08fc544 @PeterJohnson Document for Doxygen.
PeterJohnson authored
1 /**
2 * \file libyasm.h
3 * \brief YASM library primary header file.
4 *
3de47f7 @PeterJohnson Add \rcs, \endrcs, \license, and \endlicense wrappers around $IdPath$ an...
PeterJohnson authored
5 * \license
469e54f @PeterJohnson Update all copyright dates.
PeterJohnson authored
6 * Copyright (C) 2003-2007 Peter Johnson
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
7 *
8 * Redistribution and use in source and binary forms, with or without
9 * modification, are permitted provided that the following conditions
10 * are met:
08fc544 @PeterJohnson Document for Doxygen.
PeterJohnson authored
11 * - Redistributions of source code must retain the above copyright
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
12 * notice, this list of conditions and the following disclaimer.
08fc544 @PeterJohnson Document for Doxygen.
PeterJohnson authored
13 * - Redistributions in binary form must reproduce the above copyright
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
14 * notice, this list of conditions and the following disclaimer in the
15 * documentation and/or other materials provided with the distribution.
16 *
17 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND OTHER CONTRIBUTORS ``AS IS''
18 * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
20 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR OTHER CONTRIBUTORS BE
21 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
22 * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
23 * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
24 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
25 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
26 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
27 * POSSIBILITY OF SUCH DAMAGE.
3de47f7 @PeterJohnson Add \rcs, \endrcs, \license, and \endlicense wrappers around $IdPath$ an...
PeterJohnson authored
28 * \endlicense
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
29 */
08fc544 @PeterJohnson Document for Doxygen.
PeterJohnson authored
30 #ifndef YASM_LIB_H
31 #define YASM_LIB_H
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
32
0c34470 @PeterJohnson Massive Python/Pyrex wrapper cleanup. We now use Pyxelator to generate
PeterJohnson authored
33 #ifdef YASM_PYXELATOR
34 typedef struct __FILE FILE;
35 typedef struct __va_list va_list;
36 typedef unsigned long size_t;
8aa68a2 @PeterJohnson Fix build (hopefully) on Win64 by using uintptr_t more widely; Win64 is ...
PeterJohnson authored
37 typedef unsigned long uintptr_t;
0c34470 @PeterJohnson Massive Python/Pyrex wrapper cleanup. We now use Pyxelator to generate
PeterJohnson authored
38 #else
cfc6bf0 @PeterJohnson Clean up and simplify libyasm.h options and symbol visibility:
PeterJohnson authored
39 #include <stdio.h>
40 #include <stdarg.h>
8aa68a2 @PeterJohnson Fix build (hopefully) on Win64 by using uintptr_t more widely; Win64 is ...
PeterJohnson authored
41 #include <libyasm-stdint.h>
0c34470 @PeterJohnson Massive Python/Pyrex wrapper cleanup. We now use Pyxelator to generate
PeterJohnson authored
42 #endif
cfc6bf0 @PeterJohnson Clean up and simplify libyasm.h options and symbol visibility:
PeterJohnson authored
43
ab13bd7 @PeterJohnson Remove YASM_LIB_INTERNAL. It never really gained us that much in terms ...
PeterJohnson authored
44 #include <libyasm/compat-queue.h>
cfc6bf0 @PeterJohnson Clean up and simplify libyasm.h options and symbol visibility:
PeterJohnson authored
45
46 #include <libyasm/coretype.h>
47 #include <libyasm/valparam.h>
48
26c808a @PeterJohnson Rename linemgr.c and linemgr.h to linemap.c and linemap.h. The "manager...
PeterJohnson authored
49 #include <libyasm/linemap.h>
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
50
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
51 #include <libyasm/errwarn.h>
52 #include <libyasm/intnum.h>
53 #include <libyasm/floatnum.h>
54 #include <libyasm/expr.h>
9fa87cd @PeterJohnson Massive cleanup of relocation and WRT handling. Closes #49 and lays the
PeterJohnson authored
55 #include <libyasm/value.h>
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
56 #include <libyasm/symrec.h>
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
57
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
58 #include <libyasm/bytecode.h>
59 #include <libyasm/section.h>
fb8b8b8 @PeterJohnson Change handling of frontend (mnenomic) instructions to make it easier to
PeterJohnson authored
60 #include <libyasm/insn.h>
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
61
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
62 #include <libyasm/arch.h>
63 #include <libyasm/dbgfmt.h>
64 #include <libyasm/objfmt.h>
2d0119c @PeterJohnson First part of list file support. This should accurately output all file
PeterJohnson authored
65 #include <libyasm/listfmt.h>
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
66 #include <libyasm/parser.h>
67 #include <libyasm/preproc.h>
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
68
22d86be @PeterJohnson Move libyasm/file.h out of YASM_INTERNAL only inclusion (always include ...
PeterJohnson authored
69 #include <libyasm/file.h>
882738b @PeterJohnson Greatly simplify build system by removing libtool and integrating former...
PeterJohnson authored
70 #include <libyasm/module.h>
22d86be @PeterJohnson Move libyasm/file.h out of YASM_INTERNAL only inclusion (always include ...
PeterJohnson authored
71
ddc08a6 @PeterJohnson Use system includes instead of local includes. This allows replacement ...
PeterJohnson authored
72 #include <libyasm/hamt.h>
93660bd @PeterJohnson First cut at CodeView (version "8" / 2005 only). Completely untested.
PeterJohnson authored
73 #include <libyasm/md5.h>
0786a76 @PeterJohnson Make libyasm a "real" library, including installing header files.
PeterJohnson authored
74
75 #endif
Something went wrong with that request. Please try again.