From 7f42af7a2a2b7089eba83e0670554f10636a2eec Mon Sep 17 00:00:00 2001 From: Simon Marchi Date: Tue, 25 Jun 2019 13:22:00 -0400 Subject: [PATCH] bt2: remove unused double* typemap This typemap seems to be unused, remove it. Change-Id: I06f1692f6cff224ecb164058edf87025b0d7cd35 Signed-off-by: Simon Marchi Reviewed-on: https://review.lttng.org/c/babeltrace/+/1535 CI-Build: Philippe Proulx Tested-by: jenkins Reviewed-by: Philippe Proulx --- src/bindings/python/bt2/bt2/native_bt.i | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/bindings/python/bt2/bt2/native_bt.i b/src/bindings/python/bt2/bt2/native_bt.i index bde8d806..9101020c 100644 --- a/src/bindings/python/bt2/bt2/native_bt.i +++ b/src/bindings/python/bt2/bt2/native_bt.i @@ -122,14 +122,6 @@ typedef int bt_bool; $result = SWIG_Python_AppendOutput(resultobj, SWIG_From_unsigned_SS_long_SS_long((uint64_t) (*$1))); } -/* Output argument typemap for initialized double output parameter (always appends) */ -%typemap(in, numinputs=0) (double *OUT) (double temp) { - $1 = &temp; -} - -%typemap(argout) (double *OUT) { - $result = SWIG_Python_AppendOutput(resultobj, SWIG_From_int((*$1))); -} /* Input argument typemap for UUID bytes */ %typemap(in) bt_uuid { -- 2.34.1