OLD | NEW |
1 /* $Id: module.h 2101 2008-05-23 06:46:51Z peter $ | 1 /* |
2 * YASM module loader header file | 2 * YASM module loader header file |
3 * | 3 * |
4 * Copyright (C) 2002-2007 Peter Johnson | 4 * Copyright (C) 2002-2007 Peter Johnson |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
11 * 2. Redistributions in binary form must reproduce the above copyright | 11 * 2. Redistributions in binary form must reproduce the above copyright |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
73 #define yasm_list_parser(func) \ | 73 #define yasm_list_parser(func) \ |
74 yasm_list_modules(YASM_MODULE_PARSER, func) | 74 yasm_list_modules(YASM_MODULE_PARSER, func) |
75 #define yasm_list_preproc(func) \ | 75 #define yasm_list_preproc(func) \ |
76 yasm_list_modules(YASM_MODULE_PREPROC, func) | 76 yasm_list_modules(YASM_MODULE_PREPROC, func) |
77 | 77 |
78 YASM_LIB_DECL | 78 YASM_LIB_DECL |
79 void yasm_register_module(yasm_module_type type, const char *keyword, | 79 void yasm_register_module(yasm_module_type type, const char *keyword, |
80 void *data); | 80 void *data); |
81 | 81 |
82 #endif | 82 #endif |
OLD | NEW |