OLD | NEW |
1 /** | 1 /** |
2 * \file libyasm/dbgfmt.h | 2 * \file libyasm/dbgfmt.h |
3 * \brief YASM debug format interface. | 3 * \brief YASM debug format interface. |
4 * | 4 * |
5 * \rcs | |
6 * $Id: dbgfmt.h 1827 2007-04-22 05:09:49Z peter $ | |
7 * \endrcs | |
8 * | |
9 * \license | 5 * \license |
10 * Copyright (C) 2002-2007 Peter Johnson | 6 * Copyright (C) 2002-2007 Peter Johnson |
11 * | 7 * |
12 * Redistribution and use in source and binary forms, with or without | 8 * Redistribution and use in source and binary forms, with or without |
13 * modification, are permitted provided that the following conditions | 9 * modification, are permitted provided that the following conditions |
14 * are met: | 10 * are met: |
15 * - Redistributions of source code must retain the above copyright | 11 * - Redistributions of source code must retain the above copyright |
16 * notice, this list of conditions and the following disclaimer. | 12 * notice, this list of conditions and the following disclaimer. |
17 * - Redistributions in binary form must reproduce the above copyright | 13 * - Redistributions in binary form must reproduce the above copyright |
18 * notice, this list of conditions and the following disclaimer in the | 14 * notice, this list of conditions and the following disclaimer in the |
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 | 113 |
118 #define yasm_dbgfmt_destroy(dbgfmt) \ | 114 #define yasm_dbgfmt_destroy(dbgfmt) \ |
119 ((yasm_dbgfmt_base *)dbgfmt)->module->destroy(dbgfmt) | 115 ((yasm_dbgfmt_base *)dbgfmt)->module->destroy(dbgfmt) |
120 #define yasm_dbgfmt_generate(object, linemap, ews) \ | 116 #define yasm_dbgfmt_generate(object, linemap, ews) \ |
121 ((yasm_dbgfmt_base *)((object)->dbgfmt))->module->generate \ | 117 ((yasm_dbgfmt_base *)((object)->dbgfmt))->module->generate \ |
122 (object, linemap, ews) | 118 (object, linemap, ews) |
123 | 119 |
124 #endif | 120 #endif |
125 | 121 |
126 #endif | 122 #endif |
OLD | NEW |