OLD | NEW |
1 /** | 1 /** |
2 * \file libyasm/hamt.h | 2 * \file libyasm/hamt.h |
3 * \brief Hash Array Mapped Trie (HAMT) functions. | 3 * \brief Hash Array Mapped Trie (HAMT) functions. |
4 * | 4 * |
5 * \rcs | |
6 * $Id: hamt.h 2101 2008-05-23 06:46:51Z peter $ | |
7 * \endrcs | |
8 * | |
9 * \license | 5 * \license |
10 * Copyright (C) 2001-2007 Peter Johnson | 6 * Copyright (C) 2001-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 * 1. Redistributions of source code must retain the above copyright | 11 * 1. 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 * 2. Redistributions in binary form must reproduce the above copyright | 13 * 2. 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
118 /*@null@*/ const HAMTEntry *HAMT_next(const HAMTEntry *prev); | 114 /*@null@*/ const HAMTEntry *HAMT_next(const HAMTEntry *prev); |
119 | 115 |
120 /** Get the corresponding data for a HAMT entry. | 116 /** Get the corresponding data for a HAMT entry. |
121 * \param entry HAMT entry (as returned by HAMT_first() and HAMT_next()) | 117 * \param entry HAMT entry (as returned by HAMT_first() and HAMT_next()) |
122 * \return Corresponding data item. | 118 * \return Corresponding data item. |
123 */ | 119 */ |
124 YASM_LIB_DECL | 120 YASM_LIB_DECL |
125 void *HAMTEntry_get_data(const HAMTEntry *entry); | 121 void *HAMTEntry_get_data(const HAMTEntry *entry); |
126 | 122 |
127 #endif | 123 #endif |
OLD | NEW |