Commit e03dccfc authored by Mart Lubbers's avatar Mart Lubbers
Browse files

add foreign to syntax builtins

parent 5e8ed994
......@@ -171,12 +171,13 @@ bs_foreign =
]
, syntax_description =
"Exports the clean function symbol to the binary.\n\n" +
"This is only possible if the function is also in the definition module and all arguments are basic types or tuples and fully strict.\n\n" +
"This is only possible if the function is also in the definition module and all arguments are basic types or tuples and fully strict."
, syntax_doc_locations = [CLR 13 "11.1" "_Toc311798114"]
, syntax_examples = map (EX "Function")
[ "foreign export factorial // Export the factorial function"
, "foreign export stdcall factorial // Idem but with the stdcall calling convention"
]
}
bs_generic =
{ syntax_title = "generic function definition"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment