Skip to content

Commit

Permalink
minor update to c templates (#1161)
Browse files Browse the repository at this point in the history
  • Loading branch information
wing328 authored Oct 3, 2018
1 parent 6e082b3 commit ae341b1
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ typedef struct apiClient_t {
#ifdef BASIC_AUTH
char *username;
char *password;
#endif //BASIC_AUTH
#endif // BASIC_AUTH
// this would only be generated for OAUTH2 authentication
#ifdef OAUTH2
char *accessToken;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ nl_ds_struct_enum_close_brace=false
nl_create_if_one_liner=false
nl_create_for_one_liner=false
nl_create_while_one_liner=false
ls_for_split_full=true
ls_func_split_full=true
ls_for_split_full=false
ls_func_split_full=false
nl_after_multiline_comment=false
eat_blanks_after_open_brace=true
eat_blanks_before_close_brace=true
Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/c/include/apiClient.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ typedef struct apiClient_t {
#ifdef BASIC_AUTH
char *username;
char *password;
#endif //BASIC_AUTH
#endif // BASIC_AUTH
// this would only be generated for OAUTH2 authentication
#ifdef OAUTH2
char *accessToken;
Expand Down
2 changes: 1 addition & 1 deletion samples/client/petstore/c/uncrustify-rules.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@ mod_full_brace_do=force
mod_full_brace_for=force
mod_full_brace_if=force
mod_full_brace_while=force
mod_paren_on_return=remove
mod_paren_on_return=remove

0 comments on commit ae341b1

Please sign in to comment.