[Python-checkins] CVS: python/dist/src/Doc/ext ext.tex,1.74,1.75

Fred Drake python-dev@python.org
Wed, 10 May 2000 16:36:37 -0400


Update of /projects/cvsroot/python/dist/src/Doc/ext
In directory seahag.cnri.reston.va.us:/home/fdrake/projects/python/Doc/ext

Modified Files:
	ext.tex 
Log Message:

Oops, better also note that the module initialization function must be
extern "C" for C++.


Index: ext.tex
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Doc/ext/ext.tex,v
retrieving revision 1.74
retrieving revision 1.75
diff -C2 -r1.74 -r1.75
*** ext.tex	2000/05/10 20:33:18	1.74
--- ext.tex	2000/05/10 20:36:34	1.75
***************
*** 401,404 ****
--- 401,406 ----
  \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