Browse Source

Added new Export keyword for documentation.

woollybah 7 years ago
parent
commit
735558abb4
1 changed files with 5 additions and 0 deletions
  1. 5 0
      blitz.mod/blitz.bmx

+ 5 - 0
blitz.mod/blitz.bmx

@@ -854,6 +854,11 @@ bbdoc: Denote a field as read only, where the value may only be set in its decla
 keyword: "ReadOnly"
 keyword: "ReadOnly"
 End Rem
 End Rem
 
 
+Rem
+bbdoc: Denote a function for export to a shared library. The generated function name will not be mangled.
+keyword: "Export"
+End Rem
+
 Rem
 Rem
 bbdoc: Specify constraints on the types that can be used as arguments for a type parameter defined in a generic declaration
 bbdoc: Specify constraints on the types that can be used as arguments for a type parameter defined in a generic declaration
 keyword: "Where"
 keyword: "Where"