From d04f613c419c0b726d6f5d28b5e48d9ee3dff4e4 Mon Sep 17 00:00:00 2001 From: Dave Abrahams Date: Fri, 18 May 2001 15:12:30 +0000 Subject: [PATCH] Fix up internal links [SVN r10122] --- doc/overriding.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/overriding.html b/doc/overriding.html index af458d79..02665be5 100644 --- a/doc/overriding.html +++ b/doc/overriding.html @@ -47,17 +47,17 @@ class hello PyObject* argument. The initial argument should be stored in the self data member described above. -
  • If the class being wrapped is ever returned by +
  • If the class being wrapped is ever returned by value from a wrapped function, be sure you do the same for the T's copy constructor: you'll need a constructor taking arguments (PyObject*, const T&). -
  • An implementation of each virtual function you may +
  • An implementation of each virtual function you may wish to override in Python which uses callback<return-type>::call_method(self, "name", args...) to call the Python override. -
  • For each non-pure virtual function meant to be +
  • For each non-pure virtual function meant to be overridable from Python, a static member function (or a free function) taking a reference or pointer to the T as the first parameter and which forwards any additional parameters neccessary to the default @@ -211,5 +211,5 @@ href="http://cs.calvin.edu/c++/C++Standard-Nov97/basic.html#basic.def.odr">ODR - Updated: Mar 6, 2001 + Updated: Mar 21, 2001