projects
/
deliverable
/
babeltrace.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename bt_ctf_X -> bt_X, maintain backward compat. for pre-2.0 CTF writer
[deliverable/babeltrace.git]
/
bindings
/
python
/
bt2
/
bt2
/
native_bt.i
diff --git
a/bindings/python/bt2/bt2/native_bt.i
b/bindings/python/bt2/bt2/native_bt.i
index ad22797384b44c84e4683ec485f57d9dcfce5f6f..62964f256380539d8b9463013512d554fdc00cb8 100644
(file)
--- a/
bindings/python/bt2/bt2/native_bt.i
+++ b/
bindings/python/bt2/bt2/native_bt.i
@@
-63,14
+63,14
@@
typedef int bt_bool;
}
/* Output argument typemap for field type output (always appends) */
}
/* Output argument typemap for field type output (always appends) */
-%typemap(in, numinputs=0) struct bt_
ctf_field_type **BTOUTFT (struct bt_ctf
_field_type *temp_ft = NULL) {
+%typemap(in, numinputs=0) struct bt_
field_type **BTOUTFT (struct bt
_field_type *temp_ft = NULL) {
$1 = &temp_ft;
}
$1 = &temp_ft;
}
-%typemap(argout) struct bt_
ctf_
field_type **BTOUTFT {
+%typemap(argout) struct bt_field_type **BTOUTFT {
if (*$1) {
/* SWIG_Python_AppendOutput() steals the created object */
if (*$1) {
/* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr(*$1), SWIGTYPE_p_bt_
ctf_
field_type, 0));
+ $result = SWIG_Python_AppendOutput($result, SWIG_NewPointerObj(SWIG_as_voidptr(*$1), SWIGTYPE_p_bt_field_type, 0));
} else {
/* SWIG_Python_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
} else {
/* SWIG_Python_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
This page took
0.023101 seconds
and
5
git commands to generate.