« Previous | Next » 

Revision 73f5e313

ID73f5e3132a18654caa9705e3e8c7688f615f8c7d

Added by Peter Maydell over 12 years ago

tcg: make tcg_const_ptr actually accept a pointer argument

Make tcg_const_ptr() include a cast so that you can pass it a
pointer. This allows us to drop the casts we had in all the places
that use this macro.

Acked-by: Andreas Färber <>
Signed-off-by: Peter Maydell <>
Signed-off-by: Stefan Hajnoczi <>

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences