Menu

#18 extern "C" __declspec(dllexport) formatting

open
nobody
None
5
2005-10-31
2005-10-31
Feiyun Wang
No

In release GC_1_140.zip,
[
extern "C" __declspec(dllexport) void myDllFunc(void) {}
]
will be formatted to:
[
extern "C"
__declspec(dllexport)

//

//

void myDllFunc(void)
{
}
]
with the command:
GC.exe -space_if- -no-space_cast_after- -code_len-80
-code_split_fctcall_style-1 -code_split_fctdef_style-2
-code_split_fctdecl_style-1 -code_split_for_style-1
-code_split_if_style-1 -code_constructor_style-1
-no-code_wizard_indent- -stmt_force_brace-1
-stmt_concat_else_2_stmt- -stmt_brace_style_decl-2
-stmt_brace_style-2 -stmt_switch_style-3
-stmt_switch_eol-1 -stmt_static_init_style-3
-no-cmt_add_gc_tag- -no-cmt_add_file- -cmt_c2cpp-
-no-cmt_first_line_break_first-
-no-cmt_first_line_break_last- -cmt_sep_len-79
-no-cmt_sep_break- -cmt_sep_eol_before-0
-code_align_max_blanks-1 -no-cmt_add_fct_def_class-
-no-cmt_add_class_access- -cmt_decl_len-80
-file-"myfile.cpp"
while I am expecting most of the code should remain in
one line.

Discussion

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.