From e4adbb10031496de22e83c30c115f5ee8d4afe03 Mon Sep 17 00:00:00 2001 From: Ian Bell Date: Fri, 21 Aug 2015 19:42:53 -0600 Subject: [PATCH] Only shorten names with Scilab --- src/CoolProp.i | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/CoolProp.i b/src/CoolProp.i index 681e4247..1430914b 100644 --- a/src/CoolProp.i +++ b/src/CoolProp.i @@ -29,10 +29,12 @@ namespace std { } } +#ifdef SWIGSCILAB // Shorten some names to make Scilab a bit happier %rename(SS) CoolProp::SimpleState; %rename(PED) CoolProp::PhaseEnvelopeData; %rename(GE) CoolProp::GuessesStructure; +#endif // This stuff will get included verbatim in CoolProp_wrap %{