aboutsummaryrefslogtreecommitdiff
path: root/def-helper.h
diff options
context:
space:
mode:
authorIgor Kovalenko <igor.v.kovalenko@gmail.com>2009-07-19 23:46:09 +0400
committerBlue Swirl <blauwirbel@gmail.com>2009-08-22 17:23:55 +0000
commit9c9c310a5494848a11802dd6bd34ecf35046d771 (patch)
tree103801e821340d79a0b0d1a341d42164fb99de2b /def-helper.h
parent0fd0eb2161b5559b41e419734f1141258289ef73 (diff)
downloadqemu-9c9c310a5494848a11802dd6bd34ecf35046d771.zip
qemu-9c9c310a5494848a11802dd6bd34ecf35046d771.tar.gz
qemu-9c9c310a5494848a11802dd6bd34ecf35046d771.tar.bz2
def-helper.h allow helpers returning pointers
This change allows to define helpers returning pointers. This looks like a typo in original commit. Signed-off-by: igor.v.kovalenko@gmail.com Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'def-helper.h')
-rw-r--r--def-helper.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/def-helper.h b/def-helper.h
index d57ea4d..8a88c5b 100644
--- a/def-helper.h
+++ b/def-helper.h
@@ -60,13 +60,13 @@
#define dh_retvar_decl0_void void
#define dh_retvar_decl0_i32 TCGv_i32 retval
#define dh_retvar_decl0_i64 TCGv_i64 retval
-#define dh_retvar_decl0_ptr TCGv_iptr retval
+#define dh_retvar_decl0_ptr TCGv_ptr retval
#define dh_retvar_decl0(t) glue(dh_retvar_decl0_, dh_alias(t))
#define dh_retvar_decl_void
#define dh_retvar_decl_i32 TCGv_i32 retval,
#define dh_retvar_decl_i64 TCGv_i64 retval,
-#define dh_retvar_decl_ptr TCGv_iptr retval,
+#define dh_retvar_decl_ptr TCGv_ptr retval,
#define dh_retvar_decl(t) glue(dh_retvar_decl_, dh_alias(t))
#define dh_retvar_void TCG_CALL_DUMMY_ARG