From 7ee3543fd19e49fffaf6f3213cc553ebb3ee636e Mon Sep 17 00:00:00 2001 From: Marcelo Lira Date: Fri, 4 Feb 2011 17:12:41 -0300 Subject: Global functions can now be renamed. This is accomplished via the "rename" attribute on the "function" tag. An unit test was added and the documentation updated. Reviewed by Hugo Parente Reviewed by Luciano Wolf --- doc/typesystem_specifying_types.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/typesystem_specifying_types.rst b/doc/typesystem_specifying_types.rst index 2d9ad3a94..e0d2d3c76 100644 --- a/doc/typesystem_specifying_types.rst +++ b/doc/typesystem_specifying_types.rst @@ -304,11 +304,13 @@ function .. code-block:: xml - + This tag has some limitations, it doesn't support function modifications, besides you can't add a function overload using :ref:`add-function` tag to an existent function. These limitation will be addressed in future versions of ApiExtractor. - The *optional* **since** value is used to specify the API version of this function. + The function tag has two *optional* attributes: **since**, whose value is used to specify + the API version of this function, and **rename**, to modify the function name. + -- cgit v1.2.3