Commit 268e362f authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

fix binding build

parent 07a4c1e3
...@@ -20,8 +20,12 @@ ...@@ -20,8 +20,12 @@
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
// SOFTWARE. // SOFTWARE.
#ifdef __cplusplus
extern "C" { extern "C" {
#endif
#include <stdbool.h> #include <stdbool.h>
extern unsigned char tokenCallback(void *, char *); extern unsigned char tokenCallback(void *, char *);
...@@ -58,4 +62,8 @@ void llama_binding_free_model(void *state); ...@@ -58,4 +62,8 @@ void llama_binding_free_model(void *state);
int llama_predict(void *params_ptr, void *state_pr, char *result, bool debug); int llama_predict(void *params_ptr, void *state_pr, char *result, bool debug);
} #ifdef __cplusplus
\ No newline at end of file
}
#endif
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment