summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/proxy/svn_hash_h.swg
blob: e7ad1743dcc429ce098e5424de1be20bb057fbef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
/* Proxy classes for svn_hash.h
 * DO NOT EDIT -- AUTOMATICALLY GENERATED
 * BY build/generator/swig/header_wrappers.py */

/* No default constructors for opaque structs */
#ifdef SWIGPYTHON
#endif

/* Callback typemaps */
#ifdef SWIGPYTHON
%apply CALLABLE_CALLBACK {
  svn_hash_diff_func_t
};
%apply CALLABLE_CALLBACK * {
  svn_hash_diff_func_t *
};
#endif

/* Baton typemaps */
#ifdef SWIGPYTHON
%apply void *PY_AS_VOID {
  void *baton,
  void *diff_func_baton
};
#endif

/* Includes */
%{
#include "svn_hash.h"
%}
%include svn_hash.h

/* Structure definitions */
#ifdef SWIGPYTHON
#endif

/* Callbacks */

%inline %{
static svn_error_t * svn_hash_invoke_diff_func(
  svn_hash_diff_func_t _obj, const void *key, apr_ssize_t klen, enum svn_hash_diff_key_status status, void *baton) {
  return _obj(key, klen, status, baton);
}

%}

#ifdef SWIGPYTHON
%funcptr_proxy(svn_hash_diff_func_t, svn_hash_invoke_diff_func);

#endif