Tools made in assistance of the Metacall Project
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
535 B

преди 4 години
преди 4 години
преди 4 години
преди 4 години
преди 4 години
  1. #include "tstring.h"
  2. void generator(
  3. tstring* header_filename,
  4. tstring* source_filename,
  5. tstring* prefix,
  6. tstring* bucket_count,
  7. tstring* K_size, tstring* K_comp_pred, tstring* K_hash_func,
  8. tstring* V_size
  9. );
  10. int main() {
  11. generator(
  12. cstring_to_tstring("./generated_header.h"),
  13. cstring_to_tstring("./generated_source.cpp"),
  14. cstring_to_tstring("test"),
  15. cstring_to_tstring("8000"),
  16. cstring_to_tstring("8"),
  17. cstring_to_tstring("test_key_comp"),
  18. cstring_to_tstring("test_key_hash"),
  19. cstring_to_tstring("128")
  20. );
  21. }