2 * SPDX-License-Identifier: MIT
4 * Copyright (c) 2016 Philippe Proulx <pproulx@efficios.com>
7 /* Output argument typemap for initialized event class log level output
8 * parameter (always appends).
10 %typemap(in, numinputs=0)
11 (bt_event_class_log_level *)
12 (bt_event_class_log_level temp = -1) {
16 %typemap(argout) bt_event_class_log_level * {
17 /* SWIG_Python_AppendOutput() steals the created object */
18 $result = SWIG_Python_AppendOutput($result, SWIG_From_int(*$1));
21 %include <babeltrace2/trace-ir/event-class.h>