Added handwritten test for h_action to C#

This commit is contained in:
Dan Hirsch 2014-01-04 22:11:32 +01:00
parent feaf1a7e06
commit ebb7b677ba
5 changed files with 132 additions and 24 deletions

View file

@ -666,13 +666,13 @@ void h_benchmark_report(FILE* stream, HBenchmarkResults* results);
// {{{ Token type registry
/// Allocate a new, unused (as far as this function knows) token type.
int h_allocate_token_type(const char* name);
HTokenType h_allocate_token_type(const char* name);
/// Get the token type associated with name. Returns -1 if name is unkown
int h_get_token_type_number(const char* name);
HTokenType h_get_token_type_number(const char* name);
/// Get the name associated with token_type. Returns NULL if the token type is unkown
const char* h_get_token_type_name(int token_type);
const char* h_get_token_type_name(HTokenType token_type);
// }}}
#ifdef __cplusplus