<URL: http://bugs.freeciv.org/Ticket/Display.html?id=21622 >

Tested on freeciv branch S2_1 revision 12321.

This is a prerequisite patch for my improved hash table patch. It allows
integer data types to be used as hash table keys/values safely and
portably. The basis for this is the glib manual page:
http://developer.gnome.org/doc/API/2.0/glib/glib-Type-Conversion-
Macros.html

Note that this patch alone does not prevent dangling pointers in
the hash keys and values.

Attachment: freeciv_S2_1_r12321-002-safe_ptr_conversion_macros.diff
Description: Binary data

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to