Allow to exportc params. (#23396)

By allowing `exportc` in params one can decide the name of a param or to
dont mangle them.
This commit is contained in:
Juan M Gómez
2024-05-10 09:35:23 +01:00
committed by GitHub
parent ee59597cd4
commit fcc43fa9c8

View File

@@ -88,7 +88,7 @@ const
wGensym, wInject,
wIntDefine, wStrDefine, wBoolDefine, wDefine,
wCompilerProc, wCore}
paramPragmas* = {wNoalias, wInject, wGensym, wByRef, wByCopy, wCodegenDecl}
paramPragmas* = {wNoalias, wInject, wGensym, wByRef, wByCopy, wCodegenDecl, wExportc, wExportCpp}
letPragmas* = varPragmas
procTypePragmas* = {FirstCallConv..LastCallConv, wVarargs, wNoSideEffect,
wThread, wRaises, wEffectsOf, wLocks, wTags, wForbids, wGcSafe,