summaryrefslogtreecommitdiffstats
path: root/scilab/modules/symbolic/sci_gateway
diff options
context:
space:
mode:
authorSylvestre Ledru <sylvestre.ledru@scilab.org>2007-04-12 12:53:49 +0000
committerSylvestre Ledru <sylvestre.ledru@scilab.org>2007-04-12 12:53:49 +0000
commit5906bd2b78cdd71ee330249d015408cb7b87e991 (patch)
tree60e802b242d84409a24b7da2e13029004683e930 /scilab/modules/symbolic/sci_gateway
parent28cd051adc57cfd9a719182b8d99509993408e04 (diff)
downloadscilab-5906bd2b78cdd71ee330249d015408cb7b87e991.zip
scilab-5906bd2b78cdd71ee330249d015408cb7b87e991.tar.gz
New format of the xml gateway files + comments
Diffstat (limited to 'scilab/modules/symbolic/sci_gateway')
-rw-r--r--scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml79
1 files changed, 32 insertions, 47 deletions
diff --git a/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml b/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml
index b0fc7d8..1cb4b83 100644
--- a/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml
+++ b/scilab/modules/symbolic/sci_gateway/symbolic_gateway.xml
@@ -1,47 +1,32 @@
1<?xml version="1.0" encoding="UTF-8" standalone="no"?> 1<?xml version="1.0" encoding="UTF-8" standalone="no"?>
2 2
3<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd"> 3<!DOCTYPE GATEWAY SYSTEM "../../functions/xml/gateway.dtd">
4 4<GATEWAY name="symbolic">
5<GATEWAY name="symbolic"> 5<!-- =================== -->
6 6<!--
7<!-- =================== --> 7 Scilab
8<!-- 8 Interface description. In this file, we define the list of the function which
9 Scilab 9 will be available into Scilab and the link to the "native" function.
10 Allan CORNET 10
11 INRIA 2007 11 gatewayId is the position in the hashtable 'Interfaces' defined in the
12 =================== 12 file SCI/modules/core/src/c/callinterf.h
13 Don't edit if you aren't sure 13
14--> 14 primitiveId is the position in the hashtable '<module>Table Tab[]' defined
15<!-- =================== --> 15 in the file modules/<module>/sci_gateway/c/gw_<module>.c
16 16
17<PRIMITIVE> 17 primitiveName is the name of the Scilab function
18 <GATEWAY_ID>22</GATEWAY_ID> 18
19 <PRIMITIVE_ID>1</PRIMITIVE_ID> 19 @author Allan CORNET
20 <PRIMITIVE_NAME>addf</PRIMITIVE_NAME> 20 @author Sylvestre LEDRU
21</PRIMITIVE> 21 @date INRIA 2007
22 22 ===================
23<PRIMITIVE> 23 Don't touch if you do not know what you are doing
24 <GATEWAY_ID>22</GATEWAY_ID> 24-->
25 <PRIMITIVE_ID>2</PRIMITIVE_ID> 25<!-- =================== -->
26 <PRIMITIVE_NAME>subf</PRIMITIVE_NAME> 26
27</PRIMITIVE> 27<PRIMITIVE gatewayId="22" primitiveId="1" primitiveName="addf" />
28 28<PRIMITIVE gatewayId="22" primitiveId="2" primitiveName="subf" />
29<PRIMITIVE> 29<PRIMITIVE gatewayId="22" primitiveId="3" primitiveName="mulf" />
30 <GATEWAY_ID>22</GATEWAY_ID> 30<PRIMITIVE gatewayId="22" primitiveId="4" primitiveName="ldivf" />
31 <PRIMITIVE_ID>3</PRIMITIVE_ID> 31<PRIMITIVE gatewayId="22" primitiveId="5" primitiveName="rdivf" />
32 <PRIMITIVE_NAME>mulf</PRIMITIVE_NAME> 32</GATEWAY> \ No newline at end of file
33</PRIMITIVE>
34
35<PRIMITIVE>
36 <GATEWAY_ID>22</GATEWAY_ID>
37 <PRIMITIVE_ID>4</PRIMITIVE_ID>
38 <PRIMITIVE_NAME>ldivf</PRIMITIVE_NAME>
39</PRIMITIVE>
40
41<PRIMITIVE>
42 <GATEWAY_ID>22</GATEWAY_ID>
43 <PRIMITIVE_ID>5</PRIMITIVE_ID>
44 <PRIMITIVE_NAME>rdivf</PRIMITIVE_NAME>
45</PRIMITIVE>
46
47</GATEWAY>