Skip to content

Commit

Permalink
Update headers for pybddisasm.
Browse files Browse the repository at this point in the history
  • Loading branch information
akisari committed Feb 20, 2024
1 parent fbe5c13 commit 698686a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion bindings/pybddisasm/pybddisasm/pybddisasm.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ void * nd_memset(void *s, int c, size_t n)
}
#endif

void nd_get_version(ND_UINT32 *major, ND_UINT32 *minor, ND_UINT32 *revision, char **build_date, char **build_time)
void nd_get_version(ND_UINT32 *major, ND_UINT32 *minor, ND_UINT32 *revision, const char **build_date, const char **build_time)
{
NdGetVersion(major, minor, revision, build_date, build_time);
}
Expand Down
2 changes: 1 addition & 1 deletion bindings/pybddisasm/pybddisasm/pybddisasm.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

#include "bddisasm.h"

void nd_get_version(ND_UINT32 *major, ND_UINT32 *minor, ND_UINT32 *revision, char **build_date, char **build_time);
void nd_get_version(ND_UINT32 *major, ND_UINT32 *minor, ND_UINT32 *revision, const char **build_date, const char **build_time);
NDSTATUS nd_decode(INSTRUX *__output_instr, const ND_UINT8 *code, ND_UINT8 def_code, ND_UINT8 def_data);
NDSTATUS nd_decode_ex(INSTRUX *__output_instr, const ND_UINT8 *code, ND_SIZET size, ND_UINT8 def_code, ND_UINT8 def_data);
NDSTATUS nd_decode_ex2(INSTRUX *__output_instr, const ND_UINT8 *code, ND_SIZET size, ND_UINT8 def_code, ND_UINT8 def_data,
Expand Down
7 changes: 0 additions & 7 deletions bindings/pybddisasm/pybddisasm/pybddisasm.i
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,6 @@
#include "pybddisasm.h"

#include "bddisasm.h"
#include "constants.h"
#include "cpuidflags.h"
#include "disasmstatus.h"
#include "disasmtypes.h"
#include "registers.h"
#include "version.h"

%}

%include "typemaps.i"
Expand Down

0 comments on commit 698686a

Please sign in to comment.