Commit c2b64240143e85e5c3815f0227dd0ebf1e7274e6

Con Kolivas 2014-03-01T14:31:11

Export the api_add_int16 function.

1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/miner.h b/miner.h
index ea588f2..2ddcc06 100644
--- a/miner.h
+++ b/miner.h
@@ -1465,6 +1465,7 @@ extern struct api_data *api_add_escape(struct api_data *root, char *name, char *
 extern struct api_data *api_add_string(struct api_data *root, char *name, char *data, bool copy_data);
 extern struct api_data *api_add_const(struct api_data *root, char *name, const char *data, bool copy_data);
 extern struct api_data *api_add_uint8(struct api_data *root, char *name, uint8_t *data, bool copy_data);
+extern struct api_data *api_add_int16(struct api_data *root, char *name, uint16_t *data, bool copy_data);
 extern struct api_data *api_add_uint16(struct api_data *root, char *name, uint16_t *data, bool copy_data);
 extern struct api_data *api_add_int(struct api_data *root, char *name, int *data, bool copy_data);
 extern struct api_data *api_add_uint(struct api_data *root, char *name, unsigned int *data, bool copy_data);