diff options
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/ext/ext.tex | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/ext/ext.tex b/Doc/ext/ext.tex index 532331f..683c11e 100644 --- a/Doc/ext/ext.tex +++ b/Doc/ext/ext.tex @@ -400,6 +400,8 @@ initspam() } \end{verbatim} +Note that for \Cpp, this method must be declared \code{extern "C"}. + When the Python program imports module \module{spam} for the first time, \cfunction{initspam()} is called. (See below for comments about embedding Python.) It calls |