diff options
author | siddhu8990 | 2015-09-11 02:28:56 +0530 |
---|---|---|
committer | siddhu8990 | 2015-09-11 02:28:56 +0530 |
commit | ed0947602f9b92489be97219e36eb284804dab0a (patch) | |
tree | 0972e6c28e60c026fb4e84d9e7ed6b0f922e6066 /2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci | |
parent | 48097fd488521bbb915c301a313ca0a7f0b6eb17 (diff) | |
download | Scilab2C-ed0947602f9b92489be97219e36eb284804dab0a.tar.gz Scilab2C-ed0947602f9b92489be97219e36eb284804dab0a.tar.bz2 Scilab2C-ed0947602f9b92489be97219e36eb284804dab0a.zip |
Changes made for making directory 'arduino' in output folder'
Diffstat (limited to '2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci')
-rw-r--r-- | 2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci index 5c26dd85..69cad558 100644 --- a/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci +++ b/2.3-1/macros/CCodeGeneration/C_FinalizeCode.sci @@ -50,6 +50,9 @@ PrintStringInfo('** ---------------------------- ',Pass1HeaderFileName,'file','y PrintStringInfo('** --- End USER2C Includes. --- ',Pass1HeaderFileName,'file','y'); PrintStringInfo('** ---------------------------- ',Pass1HeaderFileName,'file','y'); PrintStringInfo('*/',Pass1HeaderFileName,'file','y'); +PrintStringInfo('#ifdef __cplusplus',Pass1HeaderFileName,'file','y'); +PrintStringInfo('} /* extern ""C"" */',Pass1HeaderFileName,'file','y'); +PrintStringInfo('#endif',Pass1HeaderFileName,'file','y'); PrintStringInfo('#endif',Pass1HeaderFileName,'file','y'); // ------------------------------------- // --- End Finalize the header file. --- |