Benchmark test case array needed to be terminated with {NULL,0,NULL}. Noted that in comments.

This commit is contained in:
Meredith L. Patterson 2012-11-06 00:20:00 -05:00
parent 21ec962d76
commit 771de6f98b
3 changed files with 10 additions and 4 deletions

View file

@ -5,7 +5,8 @@
/*
Usage:
Create your parser (i.e., HParser*), and then call
Create your parser (i.e., const HParser*), and an array of test cases
(i.e., HParserTestcase[], terminated by { NULL, 0, NULL }) and then call
HBenchmarkResults* results = h_benchmark(parser, testcases);