diff options
author | Lauro Neto <lauro.neto@openbossa.org> | 2010-03-23 16:48:43 -0300 |
---|---|---|
committer | Lauro Neto <lauro.neto@openbossa.org> | 2010-03-23 17:08:23 -0300 |
commit | 1cd5adbb53161e3fbe7e016ffb580c81b5ec8205 (patch) | |
tree | 1b2a40c53ce63e90f299e3c98d842c360848634b /doc/ownership.rst | |
parent | e253f00a604ffad4398173bea2916ca4d28ae1c4 (diff) |
Small fixes in documentation
Reviewer: Hugo Lima <hugo.lima@openbossa.org>
Reviewer: Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'doc/ownership.rst')
-rw-r--r-- | doc/ownership.rst | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/doc/ownership.rst b/doc/ownership.rst index 64fa77a5b..69791f855 100644 --- a/doc/ownership.rst +++ b/doc/ownership.rst @@ -108,9 +108,19 @@ Parentship heuristics type system when binding Qt libraries. For Qt, this heuristic works in all cases, but be aware that it might not when binding your own libraries. - To activate this heuristic, use the :ref:`--enable-parent-ctor-heuristic <option-heuristic>` + To activate this heuristic, use the :ref:`--enable-parent-ctor-heuristic <parent-heuristic>` command line switch. +.. _return-value-heuristics: + +Return value heuristics +----------------------- + + When enabled, object returned as pointer in C++ will become child of the object on which the method + was called. + + To activate this heuristic, use the :ref:`--enable-return-value-heuristic <return-heuristic>` + Common pitfalls =============== |