Use const in uc_mem_write and derivates

This commit is contained in:
pancake
2015-08-24 17:02:14 +02:00
parent 62908b96eb
commit c5d99777f4
5 changed files with 5 additions and 5 deletions

View File

@@ -28,7 +28,7 @@ typedef int (*reg_access_t)(uch handle, unsigned int regid, void *value);
typedef void (*reg_reset_t)(uch handle);
typedef bool (*uc_write_mem_t)(AddressSpace *as, hwaddr addr, uint8_t *buf, int len);
typedef bool (*uc_write_mem_t)(AddressSpace *as, hwaddr addr, const uint8_t *buf, int len);
typedef bool (*uc_read_mem_t)(AddressSpace *as, hwaddr addr, uint8_t *buf, int len);