forked from MoSync/MoSync
-
Notifications
You must be signed in to change notification settings - Fork 0
/
extensions.txt
45 lines (34 loc) · 1.07 KB
/
extensions.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
* Config file must have Unix line endings.
ConfFile := NumberOfExtensions \n NumberOfFunctions \n (Dll*)
NumberOfExtensions := <Ascii unsigned integer>
NumberOfFunctions := <Ascii unsigned integer>
Dll := FileName \n IdlHash \n
IdlHash := 8 hex digits
14:12 2011-06-10
Example ConfFile:
5
extension1.dll
385ad26f
extension2.dll
ab528013
16:37 2011-06-09
Components:
* Invocation/native-defs generator (single extension-IDL input)
* Config/user-header generator (multiple extension-IDL input)
* Template extension
* Example extensions(plural)
* Loader/invoker (implementation of maInvokeExtension() in MoRE)
14:16 2011-06-10
Invocator output:
extension-src-dir/invoke-extension.cpp // implements initializeExtension()
extension-src-dir/cpp_mx_MyExtension.h
Input:
mx-invoker -i MyExtension.idl -o extension-src-dir
Config output:
/project/build/mx_MyExtension.h
/project/build/mx_MyOtherExtension.h
/project/build/ConfFile.txt
Input
mx-config -o /project/build MyExtension.idl MyExtension.dll MyOtherExtension.idl MyOtherExtension.dll
Emulator input:
MoRE -p program -x ConfFile.txt