%typemap(argout) (const char **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result, SWIG_Python_str_FromChar(*$1));
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result, SWIG_Python_str_FromChar(*$1));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout) (bt_value **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_value, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
}
%typemap(argout) uint64_t * {
- $result = SWIG_Python_AppendOutput(resultobj,
+ $result = SWIG_AppendOutput(resultobj,
SWIG_From_unsigned_SS_long_SS_long((*$1)));
}
}
%typemap(argout) (int64_t *) {
- $result = SWIG_Python_AppendOutput(resultobj, SWIG_From_long_SS_long((*$1)));
+ $result = SWIG_AppendOutput(resultobj, SWIG_From_long_SS_long((*$1)));
}
/* Output argument typemap for initialized unsigned int output parameter (always appends) */
}
%typemap(argout) (unsigned int *) {
- $result = SWIG_Python_AppendOutput(resultobj,
+ $result = SWIG_AppendOutput(resultobj,
SWIG_From_unsigned_SS_long_SS_long((uint64_t) (*$1)));
}
}
%typemap(argout) bt_bool * {
- $result = SWIG_Python_AppendOutput(resultobj,
+ $result = SWIG_AppendOutput(resultobj,
SWIG_From_bool(*$1));
}
%typemap(argout) bt_self_component_port_input ** {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_self_component_port_input, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout) (bt_self_component_port_output **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_self_component_port_output, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
}
%typemap(argout) bt_event_class_log_level * {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result, SWIG_From_int(*$1));
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result, SWIG_From_int(*$1));
}
%include <babeltrace2/trace-ir/event-class.h>
PyList_SET_ITEM(py_label_list, i, PyUnicode_FromString((*$1)[i]));
}
- $result = SWIG_Python_AppendOutput($result, py_label_list);
+ $result = SWIG_AppendOutput($result, py_label_list);
} else {
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout)
(const bt_connection **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_connection, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout) (const bt_component_source **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_component_source, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout) (const bt_component_filter **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_component_filter, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout) (const bt_component_sink **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_component_sink, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout)
(const bt_clock_snapshot **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_clock_snapshot, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout)
(bt_message_iterator **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_message_iterator, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout)
(const bt_plugin **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_plugin, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}
%typemap(argout)
(const bt_plugin_set **) {
if (*$1) {
- /* SWIG_Python_AppendOutput() steals the created object */
- $result = SWIG_Python_AppendOutput($result,
+ /* SWIG_AppendOutput() steals the created object */
+ $result = SWIG_AppendOutput($result,
SWIG_NewPointerObj(SWIG_as_voidptr(*$1),
SWIGTYPE_p_bt_plugin_set, 0));
} else {
- /* SWIG_Python_AppendOutput() steals Py_None */
+ /* SWIG_AppendOutput() steals Py_None */
Py_INCREF(Py_None);
- $result = SWIG_Python_AppendOutput($result, Py_None);
+ $result = SWIG_AppendOutput($result, Py_None);
}
}