From 1cd5adbb53161e3fbe7e016ffb580c81b5ec8205 Mon Sep 17 00:00:00 2001 From: Lauro Neto Date: Tue, 23 Mar 2010 16:48:43 -0300 Subject: Small fixes in documentation Reviewer: Hugo Lima Reviewer: Marcelo Lira --- doc/ownership.rst | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) (limited to 'doc/ownership.rst') 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 ` + To activate this heuristic, use the :ref:`--enable-parent-ctor-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 ` + Common pitfalls =============== -- cgit v1.2.3