- Dec 06, 2000
-
-
Ulf Möller authored
-
Bodo Möller authored
-
Bodo Möller authored
"xxx tests passed" message.
-
Richard Levitte authored
stderr...
-
Richard Levitte authored
-
Bodo Möller authored
not just on certain platforms.
-
Bodo Möller authored
-
Bodo Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
reliable timings yet, please try it out!
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
- Dec 05, 2000
-
-
Richard Levitte authored
-
Lutz Jänicke authored
-
Lutz Jänicke authored
-
-
Richard Levitte authored
Spotted by plin <plin@rainbow.com>
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
-
Ulf Möller authored
add debug output facilities.
-
Ulf Möller authored
-
- Dec 04, 2000
-
-
Bodo Möller authored
-
Richard Levitte authored
really undefined. Spotted by Jeffrey Altman <jaltman@columbia.edu>
-
Richard Levitte authored
course, that means we need to handle the cases where the two arrays to bn_mul_recursive() and bn_mul_part_recursive() differ in size. I haven't yet changed the comments that describe bn_mul_recursive() and bn_mul_part_recursive(). I want this to be tested by more people before I consider this change final. Please test away!
-
Bodo Möller authored
-
Geoff Thorpe authored
-
Geoff Thorpe authored
so these macros probably shouldn't be used like that at all. So, this change removes the misleading comment and also adds an implicit trailing semi-colon to the DECLARE macros so they too don't require one.
-
Geoff Thorpe authored
will probably be more when the lh_doall[_arg] callbacks are similarly tidied up, but this 'pod' should now be current.
-
Geoff Thorpe authored
-
Geoff Thorpe authored
cases of function pointer casting in lh_new() calls - and leave only the lh_doall and lh_doall_arg cases to be finished.
-
- Dec 03, 2000
-
-
Ben Laurie authored
-
Bodo Möller authored
-
Bodo Möller authored
might overflow.
-
- Dec 02, 2000
-
-
Geoff Thorpe authored
be used as the hash/compare callbacks without function pointer casting. For now, this is just happening in the apps/ directory whilst a few people check the approach. The rest of the library will be moved across to the same idea if there's no problems with this.
-
Geoff Thorpe authored
IMPLEMENT macros for defining wrapper functions for "hash" and "cmp" callbacks that are specific to the underlying item type in a hash-table. This prevents function pointer casting altogether, and also provides some type-safety because the macro does per-variable casting from the (void *) type used in LHASH itself to the type declared in the macro - and if that doesn't match the prototype expected by the "hash" or "cmp" function then a compiler error will result. NB: IMPLEMENT macros are not required unless predeclared forms are required (either in a header file, or further up in a C file than the implementation needs to be). The DECLARE macros must occur after the type-specific hash/cmp callbacks are declared. Also, the IMPLEMENT and DECLARE macros are such that they can be prefixed with "static" if desired and a trailing semi-colon should be appended (making it look more like a regular declaration and easier on auto-formatting text-editors too). Now that these macros are defined, I will next be commiting changes to a number of places in the library where the casting was doing bad things. After that, the final step will be to make the analogous changes for the lh_doall and lh_doall_arg functions (more specifically, their callback parameters).
-
Richard Levitte authored
-