diff options
author | 2021-02-09 05:43:36 +0200 | |
---|---|---|
committer | 2021-02-09 05:43:36 +0200 | |
commit | 41efe7b8f9f67d5956ab677f3631478c48114ac1 (patch) | |
tree | 9b2d1cff2bc30b484a9192a498d38344803d83d9 /src/datagen.h | |
parent | 7754455c48c50764ad7291ea508109c53b60517f (diff) | |
download | algos-ld1-41efe7b8f9f67d5956ab677f3631478c48114ac1.tar.gz algos-ld1-41efe7b8f9f67d5956ab677f3631478c48114ac1.tar.bz2 algos-ld1-41efe7b8f9f67d5956ab677f3631478c48114ac1.zip |
A major overhaul of the whole thing.
It has come to my attention that previously, the project was built on top
of some *very* incorrect assumptions. This patch mostly addresses that.
And while it does NOT leave the project in otherwise working state,
it does weed out most, if not all, of effects of previously incorrect
assumptions, so it can be built the right way from here on forth.
Signed-off-by: Gediminas Jakutis <gediminas@varciai.lt>
Diffstat (limited to 'src/datagen.h')
-rw-r--r-- | src/datagen.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/datagen.h b/src/datagen.h index 0b8aa35..92a7878 100644 --- a/src/datagen.h +++ b/src/datagen.h @@ -7,7 +7,7 @@ #include "defs.h" -int gen_get_array(struct stream * const in, ssize_t idx, struct entry_l * const data); -int gen_get_list(struct stream * const restrict in, ssize_t idx, struct entry_l * const data); +struct entry_l *gen_get_array(struct stream * const in); +struct entry_l *gen_get_list(struct stream * const in); #endif /* ALGOS_DATAGEN_H_INCLUDED */ |