URL:
<http://gna.org/patch/?1560>
Summary: Define Scripting API methods more conveniently
Project: Freeciv
Submitted by: englabenny
Submitted on: torsdag 2010-03-25 den 18:14
Category: None
Priority: 5 - Normal
Status: Ready For Test
Privacy: Public
Assigned to: englabenny
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Planned Release: 2.3
_______________________________________________________
Details:
[PATCH 1/3] Define Scripting API methods more conveniently
Using the tolua_outside declaration, supported by toluaxx (and
tolua++), we can define API datatype methods directly in the type
definition.
This reduces the boilerplate needed and cleans up the lua script
namespace by removing all the methods_* lua functions.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: torsdag 2010-03-25 den 18:14 Name:
0001-Define-Scripting-API-methods-more-conveniently.patch Size: 11 kB By:
englabenny
<http://gna.org/patch/download.php?file_id=8648>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1560>
_______________________________________________
Meddelandet skickades via/av Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev