blob: b4723c8bca9653c831dbb03c654eb24c6725beb9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
%module wiredtiger
/* Set the input argument to point to a temporary variable */
%typemap(in, numinputs=0) WT_CONNECTION ** (WT_CONNECTION *temp) {
$1 = &temp;
}
/* Append connection to returned list */
%typemap(argout) WT_CONNECTION ** {
$result = SWIG_NewPointerObj(SWIG_as_voidptr($1),
SWIGTYPE_p_wt_connection, 0);
}
%include "wiredtiger.h"
|