Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/moses-smt/vowpal_wabbit.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Langford <jl@hunch.net>2012-05-31 17:11:35 +0400
committerJohn Langford <jl@hunch.net>2012-05-31 17:11:35 +0400
commit2a180110f7c99b6a67e69ea3101e3d349970dcd1 (patch)
tree4f395e3c272546ed257409a633a7bdf8fadff223 /vowpalwabbit/parse_primitives.h
parent5136dca05adb7bea0479aec4a63a7c4aff6d1867 (diff)
building library interface
Diffstat (limited to 'vowpalwabbit/parse_primitives.h')
-rw-r--r--vowpalwabbit/parse_primitives.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/vowpalwabbit/parse_primitives.h b/vowpalwabbit/parse_primitives.h
index 383c7e83..7d74f945 100644
--- a/vowpalwabbit/parse_primitives.h
+++ b/vowpalwabbit/parse_primitives.h
@@ -11,6 +11,7 @@ embodied in the content of this file are licensed under the BSD
#include <stdint.h>
#include "v_array.h"
#include "io.h"
+#include "example.h"
struct substring {
char *begin;
@@ -59,7 +60,7 @@ struct parser {
v_array<substring> name;
io_buf* input; //Input source(s)
- int (*reader)(void*, void* ae);
+ int (*reader)(void*, example* ae);
hash_func_t hasher;
bool resettable; //Whether or not the input can be reset.
io_buf* output; //Where to output the cache.