aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2017-07-16 22:52:02 +0200
committerMarc Schink <swo-dev@marcschink.de>2017-07-21 09:26:27 +0200
commita87e5ac40fc00033aaf57d9a4290c5aa192d83a9 (patch)
tree4a024685e122546ab3320a83c7ff7c1cf1d0ef9b
parent28ed4079c44c987726e01141ed268174f18475f8 (diff)
Python: Rename constants for consistency
-rw-r--r--bindings/python/swopy.i24
1 files changed, 12 insertions, 12 deletions
diff --git a/bindings/python/swopy.i b/bindings/python/swopy.i
index 2aea066..e38cf76 100644
--- a/bindings/python/swopy.i
+++ b/bindings/python/swopy.i
@@ -79,18 +79,18 @@ static int swig_exception_code(int code)
%rename(PACKET_TYPE_DWT_ADDR_OFFSET) libswo::PacketType::DWT_ADDR_OFFSET;
%rename(PACKET_TYPE_DWT_DATA_VALUE) libswo::PacketType::DWT_DATA_VALUE;
-%rename(LTS_SYNC) libswo::LocalTimestampRelation::SYNC;
-%rename(LTS_TS) libswo::LocalTimestampRelation::TS;
-%rename(LTS_SRC) libswo::LocalTimestampRelation::SRC;
-%rename(LTS_BOTH) libswo::LocalTimestampRelation::BOTH;
-
-%rename(EXT_ITM) libswo::ExtensionSource::ITM;
-%rename(EXT_HW) libswo::ExtensionSource::HW;
-
-%rename(EXC_RESERVED) libswo::ExceptionTraceFunction::RESERVED;
-%rename(EXC_ENTER) libswo::ExceptionTraceFunction::ENTER;
-%rename(EXC_EXIT) libswo::ExceptionTraceFunction::EXIT;
-%rename(EXC_RETURN) libswo::ExceptionTraceFunction::RETURN;
+%rename(LTS_REL_SYNC) libswo::LocalTimestampRelation::SYNC;
+%rename(LTS_REL_TS) libswo::LocalTimestampRelation::TS;
+%rename(LTS_REL_SRC) libswo::LocalTimestampRelation::SRC;
+%rename(LTS_REL_BOTH) libswo::LocalTimestampRelation::BOTH;
+
+%rename(EXT_SRC_ITM) libswo::ExtensionSource::ITM;
+%rename(EXT_SRC_HW) libswo::ExtensionSource::HW;
+
+%rename(EXCTRACE_FUNC_RESERVED) libswo::ExceptionTraceFunction::RESERVED;
+%rename(EXCTRACE_FUNC_ENTER) libswo::ExceptionTraceFunction::ENTER;
+%rename(EXCTRACE_FUNC_EXIT) libswo::ExceptionTraceFunction::EXIT;
+%rename(EXCTRACE_FUNC_RETURN) libswo::ExceptionTraceFunction::RETURN;
%rename(DF_EOS) libswo::DecoderFlags::EOS;