Extension description syntax; extension instantiation, field values and calls with arguments (except strings); example of a simple extension.

String arguments support is supposed to be added in a subsequent commit.
This commit is contained in:
Ruben Ayrapetyan
2015-02-24 16:38:49 +03:00
parent 3d9635300b
commit 79695bf3cd
32 changed files with 1031 additions and 111 deletions
+15
View File
@@ -155,4 +155,19 @@
*/
#define CONFIG_EXTENSION_CHAR_BUFFER_SIZE 2048
/**
* Maximum number of registered extensions
*/
#define CONFIG_EXTENSION_MAX_NUMBER_OF_EXTENSIONS 32
/**
* Maximum number of functions in an extension
*/
#define CONFIG_EXTENSION_MAX_FUNCTIONS_IN_EXTENSION 1024
/**
* Maximum number of arguments in a function
*/
#define CONFIG_EXTENSION_MAX_ARGUMENTS_IN_FUNCTION 16
#endif /* !CONFIG_H */