summaryrefslogtreecommitdiff
path: root/subversion/bindings/swig/proxy/svn_error_h.swg
blob: a7352cd9a39269ed64cad195ba181fa8a3cb0f8a (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
/* Proxy classes for svn_error.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_error_malfunction_handler_t
};
%apply CALLABLE_CALLBACK * {
  svn_error_malfunction_handler_t *
};
#endif

/* Baton typemaps */

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

/* Structure definitions */
#ifdef SWIGPYTHON
#endif

/* Callbacks */

%inline %{
static svn_error_t * svn_error_invoke_malfunction_handler(
  svn_error_malfunction_handler_t _obj, svn_boolean_t can_return, const char *file, int line, const char *expr) {
  return _obj(can_return, file, line, expr);
}

%}

#ifdef SWIGPYTHON
%funcptr_proxy(svn_error_malfunction_handler_t, svn_error_invoke_malfunction_handler);

#endif