From 20e999b731191a1e427ab7e1183f2b37790678c7 Mon Sep 17 00:00:00 2001 From: Hugo Parente Lima Date: Thu, 22 Apr 2010 16:15:18 -0300 Subject: Added documentation for function tag. --- doc/typesystem_specifying_types.rst | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'doc') diff --git a/doc/typesystem_specifying_types.rst b/doc/typesystem_specifying_types.rst index 21392c68a..cd65c4b5b 100644 --- a/doc/typesystem_specifying_types.rst +++ b/doc/typesystem_specifying_types.rst @@ -60,8 +60,7 @@ rejection *optional* **function-name** or **field-name** attributes to reject a particular function or field. Note that the **field-name** and **function-name** cannot be specified at the same time. To remove all occurrences of a given field or - function, set the class attribute to \*. You can use an empty class field - to denote a global function. + function, set the class attribute to \*. .. _primitive-type: @@ -254,4 +253,20 @@ container-type container. It can be: *list*, *string-list*, *linked-list*, *vector*, *stack*, *queue*, *set*, *map*, *multi-map*, *hash*, *multi-hash* or *pair*. +.. _function: +function +^^^^^^^^ + + The function node indicates that the given C++ global function is mapped onto + the target language. + + .. 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. -- cgit v1.2.3