From: William F. <wsf...@us...> - 2006-11-10 23:05:25
|
Update of /cvsroot/swig/SWIG/Doc/Manual In directory sc8-pr-cvs8.sourceforge.net:/tmp/cvs-serv5613/Doc/Manual Modified Files: SWIG.html Log Message: %ignore clarification for #1592169 Index: SWIG.html =================================================================== RCS file: /cvsroot/swig/SWIG/Doc/Manual/SWIG.html,v retrieving revision 1.31 retrieving revision 1.32 diff -C2 -d -r1.31 -r1.32 *** SWIG.html 8 Nov 2006 00:52:32 -0000 1.31 --- SWIG.html 10 Nov 2006 23:05:20 -0000 1.32 *************** *** 1702,1706 **** <p> ! One use of <tt>%ignore</tt> is to selectively remove certain declarations from a header file without having to add conditional compilation to the header. However, it should be stressed that this only works for simple declarations. If you need to remove a whole section of problematic code, the SWIG preprocessor should be used instead. --- 1702,1707 ---- <p> ! Any function, variable etc which matches <tt>%ignore</tt> will not be wrapped and therefore will not be available from the target language. ! A common usage of <tt>%ignore</tt> is to selectively remove certain declarations from a header file without having to add conditional compilation to the header. However, it should be stressed that this only works for simple declarations. If you need to remove a whole section of problematic code, the SWIG preprocessor should be used instead. |