Skip to content

Commit dde4d50

Browse files
committed
alias uc_mips_reg to UC_MIPS_REG
1 parent 04234ae commit dde4d50

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

include/unicorn/mips.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,10 @@ typedef enum uc_mips_reg {
271271
UC_MIPS_REG_LO1 = UC_MIPS_REG_HI1,
272272
UC_MIPS_REG_LO2 = UC_MIPS_REG_HI2,
273273
UC_MIPS_REG_LO3 = UC_MIPS_REG_HI3,
274-
} UC_MIPS_REG;
274+
} uc_mips_reg;
275+
276+
// This is only for backwards compatibility
277+
typedef uc_mips_reg UC_MIPS_REG;
275278

276279
#ifdef __cplusplus
277280
}

0 commit comments

Comments
 (0)