whitespace fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7191 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
01a7281ad1
commit
d2c036b5e7
1 changed files with 3 additions and 2 deletions
|
|
@ -909,6 +909,7 @@ class CSHARP : public Language {
|
||||||
|
|
||||||
// Add extra indentation
|
// Add extra indentation
|
||||||
Replaceall(enum_code, "\n", "\n ");
|
Replaceall(enum_code, "\n", "\n ");
|
||||||
|
Replaceall(enum_code, " \n", "\n");
|
||||||
|
|
||||||
Printv(proxy_class_constants_code, " ", enum_code, "\n\n", NIL);
|
Printv(proxy_class_constants_code, " ", enum_code, "\n\n", NIL);
|
||||||
} else {
|
} else {
|
||||||
|
|
@ -1284,7 +1285,7 @@ class CSHARP : public Language {
|
||||||
|
|
||||||
// Class attributes
|
// Class attributes
|
||||||
const String *csattributes = typemapLookup("csattributes", typemap_lookup_type, WARN_NONE);
|
const String *csattributes = typemapLookup("csattributes", typemap_lookup_type, WARN_NONE);
|
||||||
if (csattributes)
|
if (csattributes && *Char(csattributes))
|
||||||
Printf(proxy_class_def, "%s\n", csattributes);
|
Printf(proxy_class_def, "%s\n", csattributes);
|
||||||
|
|
||||||
Printv(proxy_class_def,
|
Printv(proxy_class_def,
|
||||||
|
|
@ -2364,7 +2365,7 @@ class CSHARP : public Language {
|
||||||
|
|
||||||
// Class attributes
|
// Class attributes
|
||||||
const String *csattributes = typemapLookup("csattributes", type, WARN_NONE);
|
const String *csattributes = typemapLookup("csattributes", type, WARN_NONE);
|
||||||
if (csattributes)
|
if (csattributes && *Char(csattributes))
|
||||||
Printf(swigtype, "%s\n", csattributes);
|
Printf(swigtype, "%s\n", csattributes);
|
||||||
|
|
||||||
Printv(swigtype,
|
Printv(swigtype,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue