OLD | NEW |
1 /** | 1 /** |
2 * \file libyasm/expr.h | 2 * \file libyasm/expr.h |
3 * \brief YASM expression interface. | 3 * \brief YASM expression interface. |
4 * | 4 * |
5 * \rcs | |
6 * $Id: expr.h 2130 2008-10-07 05:38:11Z peter $ | |
7 * \endrcs | |
8 * | |
9 * \license | 5 * \license |
10 * Copyright (C) 2001-2007 Michael Urman, Peter Johnson | 6 * Copyright (C) 2001-2007 Michael Urman, 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 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
381 * \param e expression | 377 * \param e expression |
382 * \param num_items number of items in items array | 378 * \param num_items number of items in items array |
383 * \param items items array | 379 * \param items items array |
384 * \return 1 on error (index out of range). | 380 * \return 1 on error (index out of range). |
385 */ | 381 */ |
386 YASM_LIB_DECL | 382 YASM_LIB_DECL |
387 int yasm_expr__subst(yasm_expr *e, unsigned int num_items, | 383 int yasm_expr__subst(yasm_expr *e, unsigned int num_items, |
388 const yasm_expr__item *items); | 384 const yasm_expr__item *items); |
389 | 385 |
390 #endif | 386 #endif |
OLD | NEW |