diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-09 12:53:47 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-09 12:53:47 (GMT) |
commit | cd1fc2183ef5dfde922e6b57a0f9419f84482a97 (patch) | |
tree | 6be368fdc2f5a1b5ed20a30cff555c945a10d91f /generic/tclMain.c | |
parent | 7bf5af5c220c94675e6cbacf175b2bac28df1432 (diff) | |
parent | 208927f00929ae34e598875f23dedcf7494668b2 (diff) | |
download | tcl-cd1fc2183ef5dfde922e6b57a0f9419f84482a97.zip tcl-cd1fc2183ef5dfde922e6b57a0f9419f84482a97.tar.gz tcl-cd1fc2183ef5dfde922e6b57a0f9419f84482a97.tar.bz2 |
Merge 8.6. Don't inline functions which are too big to be inlined (according to the -Winline compiler flag)
Diffstat (limited to 'generic/tclMain.c')
-rw-r--r-- | generic/tclMain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclMain.c b/generic/tclMain.c index 216544a..cc9a829 100644 --- a/generic/tclMain.c +++ b/generic/tclMain.c @@ -43,7 +43,7 @@ # define _tcscmp strcmp #endif -static inline Tcl_Obj * +static Tcl_Obj * NewNativeObj( TCHAR *string) { @@ -53,7 +53,7 @@ NewNativeObj( Tcl_DStringInit(&ds); Tcl_WCharToUtfDString(string, -1, &ds); #else - Tcl_ExternalToUtfDString(NULL, (char *) string, -1, &ds); + Tcl_ExternalToUtfDString(NULL, (char *)string, -1, &ds); #endif return TclDStringToObj(&ds); } |