Mark Sibly 8 lat temu
rodzic
commit
e882d758ac
1 zmienionych plików z 19 dodań i 1 usunięć
  1. 19 1
      modules/monkey/docs/language/native-code.md

+ 19 - 1
modules/monkey/docs/language/native-code.md

@@ -25,6 +25,25 @@ Global Counter:Int
 Function DoSomething( x:int,y:Int )
 ```
 
+You can declare the following inside extern blocks:
+
+* Consts
+
+* Globals
+
+* Structs
+
+* Classes
+
+* Functions
+
+
+You cannot declare the following inside extern blocks:
+
+* Generic functions or types
+
+* Operator methods
+
 
 #### Extern symbols
 
@@ -44,7 +63,6 @@ Class Actor="mylib::Actor"
 End
 ```
 
-
 #### Extern classes
 
 Extern classes are assumed by default to be *real* monkey2 classes - that is, they must extend the native bbObject class.