update example for change in function signature

This commit is contained in:
Robert 2022-12-06 20:45:35 +01:00
parent ecc3fff8a0
commit ac85394396
2 changed files with 9 additions and 2 deletions

View file

@ -1,7 +1,14 @@
#include "b15f/wrapper/b15f.h"
#include <stdio.h>
int main() {
b15f_t* instance = get_instance();
char buf[512];
b15f_t* instance = get_instance(buf, sizeof(buf));
if (instance == NULL) {
fprintf(stderr, "%s", buf);
return -1;
}
return 0;
}