URL: <http://gna.org/patch/?1378>
Summary: New registry interface Project: Freeciv Submitted by: pepeto Submitted on: dimanche 29.11.2009 à 19:23 Category: general Priority: 3 - Low Status: Ready For Test Privacy: Public Assigned to: None Originator Email: Open/Closed: Open Discussion Lock: Any Planned Release: 2.3.0 _______________________________________________________ Details: Patch for trunk I was working on it for more than one month: * The registry stuff never stops Freeciv. Most of the function return FALSE or NULL on error. secfile_error() provides the last error message. * Added a new boolean type in registry (TRUE or FALSE). * The interface becomes very simpler and more flexible. You can issue function directly to the section and the entry structures (e.g. removing a full section). Use "secfile_", "section_" and "entry_" prefixes for all functions. _______________________________________________________ File Attachments: ------------------------------------------------------- Date: dimanche 29.11.2009 à 19:23 Name: trunk_registry.diff.bz2 Size: 52 ko By: pepeto <http://gna.org/patch/download.php?file_id=7414> _______________________________________________________ Reply to this item at: <http://gna.org/patch/?1378> _______________________________________________ Message posté via/par Gna! http://gna.org/ _______________________________________________ Freeciv-dev mailing list Freeciv-dev@gna.org https://mail.gna.org/listinfo/freeciv-dev