source: valtobtest/subversion-1.6.2/subversion/bindings/swig/svn_diff.i @ 3

Last change on this file since 3 was 3, checked in by valtob, 15 years ago

subversion source 1.6.2 as test

File size: 1.4 KB
Line 
1/*
2 * ====================================================================
3 * Copyright (c) 2007 CollabNet.  All rights reserved.
4 *
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.
10 *
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 * ====================================================================
15 *
16 * svn_diff.i: SWIG interface file for svn_diff.h
17 */
18
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
26
27%include svn_global.swg
28%import core.i
29
30/* -----------------------------------------------------------------------
31   %apply-ing of typemaps defined elsewhere
32*/
33
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
39};
40
41#ifdef SWIGPYTHON
42%apply svn_stream_t *WRAPPED_STREAM { svn_stream_t * };
43#endif
44
45/* ----------------------------------------------------------------------- */
46
47%include svn_diff_h.swg
Note: See TracBrowser for help on using the repository browser.