By the by, you could simplify svn_delta like the following and it'll
still do the right thing (verified this by hand to make sure, of course) for
svn_txdelta_window_handler_t *, since it *knows* a
svn_txdelta_window_handler_t is really already a pointer.
Also, ignore the void * part of the last patch, it's obviously not needed
(it was a swig 1.3.10 bug workaround that i forgot to remove).
Index: ./svn_delta.i
===================================================================
--- ./svn_delta.i
+++ ./svn_delta.i Sun Feb 3 20:45:00 2002
@@ -33,21 +33,9 @@
svn_delta_xml_parser_t **,
svn_txdelta_window_t **,
svn_delta_edit_fns_t **,
- struct svn_pipe_edit_baton **
+ struct svn_pipe_edit_baton **,
+ svn_txdelta_window_handler_t *
};
-
-/*
-----------------------------------------------------------------------
- all uses of "svn_txdelta_window_handler_t *" are OUT params
-*/
-%typemap(ignore) svn_txdelta_window_handler_t *
(svn_txdelta_window_handler_t temp) {
- $1 = &temp;
-}
-%typemap(python,argout) svn_txdelta_window_handler_t * {
- $result = t_output_helper(
- $result,
- SWIG_NewPointerObj(*$1, $*1_descriptor, 0));
-}
-
/*
-----------------------------------------------------------------------
handle the ptr/len params of svn_delta_xml_parsebytes()
*/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:04 2006