Files
favicon-trap/bindings/haskell/src/include/unicorn_wrapper.h
2017-01-10 20:59:14 +08:00

22 lines
401 B
C

#ifndef UNICORN_WRAPPER_H
#define UNICORN_WRAPPER_H
#include <unicorn/unicorn.h>
/*
* Wrap Unicorn's uc_close function and ignore the returned error code.
*/
void uc_close_wrapper(uc_engine *uc);
/*
* Doesn't actually do anything.
*/
void uc_close_dummy(uc_engine *uc);
/*
* Wrap Unicorn's uc_free function and ignore the returned error code.
*/
void uc_free_wrapper(void *context);
#endif