/[eiffelstudio]/trunk/eweasel/tests/ccomp040/ise_runtime.e
ViewVC logotype

Contents of /trunk/eweasel/tests/ccomp040/ise_runtime.e

Parent Directory Parent Directory | Revision Log Revision Log


Revision 65297 - (show annotations)
Thu Nov 30 20:22:33 2006 UTC (13 years ago) by manus
File size: 3357 byte(s)
Moved from trunk/Src/eweasel to trunk/eweasel so that a simple checkout of the source code is not penalized by the lenghty process of checking out all the tests of eweasel.
1 indexing
2 description: "[
3 Set of features to access ISE runtime functionality.
4 To be used at your own risk.
5 ]"
6 date: "$Date$"
7 revision: "$Revision$"
8
9 class
10 ISE_RUNTIME
11
12 feature -- Feature specific to ISE runtime.
13
14 frozen c_standard_clone (other: POINTER): ANY is
15 -- New object of same dynamic type as `other'
16 external
17 "C signature (EIF_REFERENCE): EIF_REFERENCE use %"eif_copy.h%""
18 alias
19 "eclone"
20 end
21
22 frozen c_conforms_to (obj1, obj2: POINTER): BOOLEAN is
23 -- Does dynamic type of object attached to `obj1' conform to
24 -- dynamic type of object attached to `obj2'?
25 external
26 "C macro use %"eif_plug.h%""
27 alias
28 "econfg"
29 end
30
31 frozen c_same_type (obj1, obj2: POINTER): BOOLEAN is
32 -- Are dynamic type of object attached to `obj1' and
33 -- dynamic type of object attached to `obj2' the same?
34 external
35 "C macro use %"eif_plug.h%""
36 alias
37 "estypeg"
38 end
39
40 frozen c_standard_is_equal (target, source: POINTER): BOOLEAN is
41 -- C external performing standard equality
42 external
43 "C signature (EIF_REFERENCE, EIF_REFERENCE): EIF_BOOLEAN use %"eif_equal.h%""
44 alias
45 "eequal"
46 end
47
48 frozen c_standard_copy (source, target: POINTER) is
49 -- C external performing standard copy
50 external
51 "C signature (EIF_REFERENCE, EIF_REFERENCE) use %"eif_copy.h%""
52 alias
53 "ecopy"
54 end
55
56 frozen c_deep_clone (other: POINTER): ANY is
57 -- New object structure recursively duplicated from the one
58 -- attached to `other'
59 external
60 "C signature (EIF_REFERENCE): EIF_REFERENCE use %"eif_copy.h%""
61 alias
62 "edclone"
63 end
64
65 frozen c_deep_equal (some: POINTER; other: like some): BOOLEAN is
66 -- Are `some' and `other' attached to recursively isomorphic
67 -- object structures?
68 external
69 "C signature (EIF_REFERENCE, EIF_REFERENCE): EIF_BOOLEAN use %"eif_equal.h%""
70 alias
71 "ediso"
72 end
73
74 frozen c_tagged_out (some: ANY): STRING is
75 -- Printable representation of current object
76 external
77 "C use %"eif_out.h%""
78 end
79
80 frozen c_generator_of_type (type_id: INTEGER): STRING is
81 -- Name of the generating class of current object
82 external
83 "C use %"eif_out.h%""
84 end
85
86 frozen c_generator (some: POINTER): STRING is
87 -- Name of the generating class of current object
88 external
89 "C macro use %"eif_out.h%""
90 end
91
92 frozen check_assert (b: BOOLEAN): BOOLEAN is
93 external
94 "C use %"eif_copy.h%""
95 alias
96 "c_check_assert"
97 end
98
99 frozen c_generating_type (obj: POINTER): STRING is
100 external
101 "C macro use %"eif_gen_conf.h%""
102 alias
103 "eif_gen_typename"
104 end
105
106 frozen c_generating_type_of_type (type_id: INTEGER): STRING is
107 external
108 "C signature (int16): EIF_REFERENCE use %"eif_gen_conf.h%""
109 alias
110 "eif_gen_typename_of_type"
111 end
112
113 frozen sp_count (sp_obj: POINTER): INTEGER is
114 -- Count of special object
115 external
116 "C signature (EIF_REFERENCE): EIF_INTEGER use %"eif_plug.h%""
117 end
118
119 feature -- Internal C routines
120
121 frozen type_id_from_name (s: POINTER): INTEGER is
122 -- Dynamic type whose name is represented by `s'.
123 external
124 "C signature (char *): EIF_INTEGER use %"eif_cecil.h%""
125 alias
126 "eif_type_id"
127 end
128
129 frozen dynamic_type (object: POINTER): INTEGER is
130 -- Dynamic type of `object'.
131 external
132 "C macro signature (EIF_REFERENCE): EIF_INTEGER use %"eif_macros.h%""
133 alias
134 "Dftype"
135 end
136
137 end -- class ISE_RUNTIME

Properties

Name Value
svn:eol-style native
svn:keywords Author Date Id Revision

  ViewVC Help
Powered by ViewVC 1.1.23