|
|
- #include "tstring.h"
-
- void generator(
- tstring* header_filename,
- tstring* source_filename,
- tstring* prefix,
- tstring* bucket_count,
- tstring* K_size, tstring* K_comp_pred, tstring* K_hash_func,
- tstring* V_size
- );
-
- int main() {
- generator(
- cstring_to_tstring("./generated_header.h"),
- cstring_to_tstring("./generated_source.cpp"),
- cstring_to_tstring("test"),
- cstring_to_tstring("8000"),
- cstring_to_tstring("8"),
- cstring_to_tstring("test_key_comp"),
- cstring_to_tstring("test_key_hash"),
- cstring_to_tstring("128")
- );
- }
|