* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
[svn.git] / subversion / bindings / swig / svn_diff.i
blob0f3644eb7ddcc244bcc5ea8febab6f546cd98781
1 /*
2 * ====================================================================
3 * Copyright (c) 2007 CollabNet. All rights reserved.
5 * This software is licensed as described in the file COPYING, which
6 * you should have received as part of this distribution. The terms
7 * are also available at http://subversion.tigris.org/license-1.html.
8 * If newer versions of this license are posted there, you may use a
9 * newer version instead, at your option.
11 * This software consists of voluntary contributions made by many
12 * individuals. For exact contribution history, see the revision
13 * history and logs, available at http://subversion.tigris.org/.
14 * ====================================================================
16 * svn_diff.i: SWIG interface file for svn_diff.h
19 #if defined(SWIGPYTHON)
20 %module(package="libsvn") diff
21 #elif defined(SWIGPERL)
22 %module "SVN::_Diff"
23 #elif defined(SWIGRUBY)
24 %module "svn::ext::diff"
25 #endif
27 %include svn_global.swg
28 %import core.i
30 /* -----------------------------------------------------------------------
31 %apply-ing of typemaps defined elsewhere
34 %apply const char *MAY_BE_NULL {
35 const char *original_header,
36 const char *modified_header,
37 const char *header_encoding,
38 const char *relative_to_dir
41 #ifdef SWIGPYTHON
42 %apply svn_stream_t *WRAPPED_STREAM { svn_stream_t * };
43 #endif
45 /* ----------------------------------------------------------------------- */
47 %include svn_diff_h.swg