Skip to content

Instantly share code, notes, and snippets.

@yushulx
Created October 12, 2018 06:50
Show Gist options
  • Save yushulx/1e53e2b20abc6afb9057a77ebe256bdf to your computer and use it in GitHub Desktop.
Save yushulx/1e53e2b20abc6afb9057a77ebe256bdf to your computer and use it in GitHub Desktop.
typedef struct Barcode {
char* barcode_type;
char* barcode_value;
} Barcode;
typedef __int32 int32_t;
typedef void (*RustCallback)(int32_t, const char *, const char *);
int32_t register_callback(RustCallback callback);
void c_decodeFile(const char *fileName, const char *pszLicense);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment