GNU PROLOG with UTF8 support
inl_protos.h
Go to the documentation of this file.
1 /*-------------------------------------------------------------------------*
2  * GNU Prolog *
3  * *
4  * Part : Prolog buit-in predicates *
5  * File : inl_protos.h *
6  * Descr.: inline predicate prototypes - header file *
7  * Author: Daniel Diaz *
8  * *
9  * Copyright (C) 1999-2015 Daniel Diaz *
10  * *
11  * This file is part of GNU Prolog *
12  * *
13  * GNU Prolog is free software: you can redistribute it and/or *
14  * modify it under the terms of either: *
15  * *
16  * - the GNU Lesser General Public License as published by the Free *
17  * Software Foundation; either version 3 of the License, or (at your *
18  * option) any later version. *
19  * *
20  * or *
21  * *
22  * - the GNU General Public License as published by the Free *
23  * Software Foundation; either version 2 of the License, or (at your *
24  * option) any later version. *
25  * *
26  * or both in parallel, as here. *
27  * *
28  * GNU Prolog is distributed in the hope that it will be useful, *
29  * but WITHOUT ANY WARRANTY; without even the implied warranty of *
30  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
31  * General Public License for more details. *
32  * *
33  * You should have received copies of the GNU General Public License and *
34  * the GNU Lesser General Public License along with this program. If *
35  * not, see http://www.gnu.org/licenses/. *
36  *-------------------------------------------------------------------------*/
37 
38 
39 /*---------------------------------*
40  * Constants *
41  *---------------------------------*/
42 
43 /*---------------------------------*
44  * Type Definitions *
45  *---------------------------------*/
46 
47 /*---------------------------------*
48  * Global Variables *
49  *---------------------------------*/
50 
51 /*---------------------------------*
52  * Function Prototypes *
53  *---------------------------------*/
54 
55  /* from type_inl_c.c */
56 
58 
60 
62 
64 
66 
68 
70 
72 
74 
76 
78 
80 
82 
84 
86 
88 
90 
91 
92 
93  /* from term_inl_c.c */
94 
96 
98 
100 
102 
104 
106 
107 
108 
110 
111 Bool FC Pl_Blt_Arg(WamWord arg_no_word, WamWord term_word, WamWord sub_term_word);
112 
113 Bool FC Pl_Blt_Functor(WamWord term_word, WamWord functor_word,
114  WamWord arity_word);
115 
116 Bool FC Pl_Blt_Univ(WamWord term_word, WamWord list_word);
117 
118 
119 
120  /* from g_var_inl_c.c */
121 
123 
125 
127 
129 
131 
132 void FC Pl_Blt_G_Inc(WamWord x);
133 
135 
137 
139 
140 void FC Pl_Blt_G_Dec(WamWord x);
141 
143 
145 
147 
149 
151 
153 
155 
156 
157 
158 
159  /* from arith_inl_c.c */
160 
161 void FC Pl_Math_Fast_Load_Value(WamWord start_word, WamWord *word_adr);
162 
163 void FC Pl_Math_Load_Value(WamWord start_word, WamWord *word_adr);
164 
166 
168 
170 
172 
174 
176 
178 
180 
182 
184 
186 
188 
190 
192 
194 
196 
198 
200 
202 
204 
206 
208 
210 
211 
212 
213 
215 
217 
219 
221 
223 
225 
227 
229 
231 
233 
235 
237 
239 
241 
243 
245 
247 
249 
251 
253 
255 
257 
258 
259 
261 
263 
265 
267 
269 
271 
273 
275 
277 
279 
281 
283 
285 
287 
289 
291 
293 
295 
297 
299 
301 
303 
305 
307 
309 
311 
313 
315 
317 
319 
321 
322 WamWord FC Pl_Fct_PI(void);
323 
324 WamWord FC Pl_Fct_E(void);
325 
327 
328 
329 
330 
332 
334 
336 
338 
340 
342 
344 
346 
348 
350 
352 
WamWord FC Pl_Fct_Shl(WamWord x, WamWord y)
Definition: arith_inl_c.c:827
WamWord FC Pl_Fct_Floor(WamWord x)
Definition: arith_inl_c.c:1057
Bool FC Pl_Blt_Term_Neq(WamWord x, WamWord y)
Definition: term_inl_c.c:94
Bool FC Pl_Blt_G_Inco(WamWord x, WamWord y)
Definition: g_var_inl_c.c:289
WamWord FC Pl_Fct_Fast_Neg(WamWord x)
Definition: arith_inl_c.c:516
WamWord FC Pl_Fct_Div(WamWord x, WamWord y)
Definition: arith_inl_c.c:773
WamWord FC Pl_Fct_Fast_Mod(WamWord x, WamWord y)
Definition: arith_inl_c.c:585
Bool FC Pl_Blt_Compound(WamWord x)
Definition: type_inl_c.c:145
WamWord FC Pl_Fct_Popcount(WamWord x)
Definition: arith_inl_c.c:851
Bool FC Pl_Blt_Atomic(WamWord x)
Definition: type_inl_c.c:139
Bool FC Pl_Blt_Float(WamWord x)
Definition: type_inl_c.c:127
WamWord FC Pl_Fct_Abs(WamWord x)
Definition: arith_inl_c.c:857
Bool FC Pl_Blt_Var(WamWord x)
Definition: type_inl_c.c:103
Bool FC Pl_Blt_Fast_Lt(WamWord x, WamWord y)
Definition: arith_inl_c.c:1140
Bool FC Pl_Blt_Non_Fd_Var(WamWord x)
Definition: type_inl_c.c:163
WamWord FC Pl_Fct_Fast_Shl(WamWord x, WamWord y)
Definition: arith_inl_c.c:649
WamWord FC Pl_Fct_Atan(WamWord x)
Definition: arith_inl_c.c:934
Bool FC Pl_Blt_G_Test_Reset_Bit(WamWord x, WamWord y)
Definition: g_var_inl_c.c:460
WamWord FC Pl_Fct_Log(WamWord x)
Definition: arith_inl_c.c:1027
WamWord FC Pl_Fct_Fast_Log_Radix(WamWord b, WamWord x)
WamWord FC Pl_Fct_Fast_And(WamWord x, WamWord y)
Definition: arith_inl_c.c:623
WamWord FC Pl_Fct_E(void)
Definition: arith_inl_c.c:1094
WamWord FC Pl_Fct_Acos(WamWord x)
Definition: arith_inl_c.c:952
Bool FC Pl_Blt_List(WamWord x)
Definition: type_inl_c.c:238
Bool FC Pl_Blt_Generic_Var(WamWord x)
Definition: type_inl_c.c:169
Bool FC Pl_Blt_Atom(WamWord x)
Definition: type_inl_c.c:115
WamWord FC Pl_Fct_Max(WamWord x, WamWord y)
Definition: arith_inl_c.c:893
WamWord FC Pl_Fct_Float_Integ_Part(WamWord x)
Definition: arith_inl_c.c:1081
Bool FC Pl_Blt_G_Array_Size(WamWord x, WamWord y)
Definition: g_var_inl_c.c:256
WamWord FC Pl_Fct_Sin(WamWord x)
Definition: arith_inl_c.c:958
Bool FC Pl_Blt_Compare(WamWord cmp_word, WamWord x, WamWord y)
Definition: term_inl_c.c:159
void FC Pl_Blt_G_Reset_Bit(WamWord x, WamWord y)
Definition: g_var_inl_c.c:427
WamWord FC Pl_Fct_Rem(WamWord x, WamWord y)
Definition: arith_inl_c.c:785
WamWord FC Pl_Fct_Fast_Not(WamWord x)
Definition: arith_inl_c.c:641
WamWord FC Pl_Fct_Atanh(WamWord x)
Definition: arith_inl_c.c:976
WamWord FC Pl_Fct_Fast_GCD(WamWord b, WamWord x)
Definition: arith_inl_c.c:700
Bool FC Pl_Blt_Fast_Neq(WamWord x, WamWord y)
Definition: arith_inl_c.c:1134
WamWord FC Pl_Fct_Epsilon(void)
Definition: arith_inl_c.c:1101
WamWord FC Pl_Fct_Fast_Rem(WamWord x, WamWord y)
Definition: arith_inl_c.c:573
Bool FC Pl_Blt_Term_Lt(WamWord x, WamWord y)
Definition: term_inl_c.c:107
WamWord FC Pl_Fct_MSB(WamWord x)
Definition: arith_inl_c.c:845
void FC Pl_Blt_G_Inc(WamWord x)
Definition: g_var_inl_c.c:274
WamWord FC Pl_Fct_Acosh(WamWord x)
Definition: arith_inl_c.c:993
void FC Pl_Math_Load_Value(WamWord start_word, WamWord *word_adr)
Definition: arith_inl_c.c:231
WamWord FC Pl_Fct_Fast_Mul(WamWord x, WamWord y)
Definition: arith_inl_c.c:553
Bool FC Pl_Blt_Fast_Lte(WamWord x, WamWord y)
Definition: arith_inl_c.c:1148
WamWord FC Pl_Fct_Fast_Dec(WamWord x)
Definition: arith_inl_c.c:530
WamWord FC Pl_Fct_Round(WamWord x)
Definition: arith_inl_c.c:1063
WamWord FC Pl_Fct_Fast_Inc(WamWord x)
Definition: arith_inl_c.c:523
WamWord FC Pl_Fct_Pow(WamWord x, WamWord y)
Definition: arith_inl_c.c:916
WamWord FC Pl_Fct_Not(WamWord x)
Definition: arith_inl_c.c:821
WamWord FC Pl_Fct_Inc(WamWord x)
Definition: arith_inl_c.c:743
WamWord FC Pl_Fct_Log10(WamWord x)
Definition: arith_inl_c.c:1033
WamWord FC Pl_Fct_Asin(WamWord x)
Definition: arith_inl_c.c:964
WamWord FC Pl_Fct_GCD(WamWord x, WamWord y)
Definition: arith_inl_c.c:870
WamWord FC Pl_Fct_Sqrt(WamWord x)
Definition: arith_inl_c.c:922
Bool FC Pl_Blt_Term_Gte(WamWord x, WamWord y)
Definition: term_inl_c.c:146
WamWord FC Pl_Fct_Shr(WamWord x, WamWord y)
Definition: arith_inl_c.c:833
WamWord FC Pl_Fct_Mul(WamWord x, WamWord y)
Definition: arith_inl_c.c:767
void FC Pl_Math_Fast_Load_Value(WamWord start_word, WamWord *word_adr)
Definition: arith_inl_c.c:252
Bool FC Pl_Blt_Fd_Var(WamWord x)
Definition: type_inl_c.c:157
Bool FC Pl_Blt_Term_Gt(WamWord x, WamWord y)
Definition: term_inl_c.c:133
WamWord FC Pl_Fct_Cosh(WamWord x)
Definition: arith_inl_c.c:987
WamWord FC Pl_Fct_Sub(WamWord x, WamWord y)
Definition: arith_inl_c.c:761
WamWord FC Pl_Fct_Cos(WamWord x)
Definition: arith_inl_c.c:946
Bool FC Pl_Blt_Lte(WamWord x, WamWord y)
Definition: arith_inl_c.c:1190
WamWord FC Pl_Fct_Fast_Xor(WamWord x, WamWord y)
Definition: arith_inl_c.c:635
WamWord FC Pl_Fct_Sign(WamWord x)
Definition: arith_inl_c.c:863
WamWord FC Pl_Fct_Or(WamWord x, WamWord y)
Definition: arith_inl_c.c:809
WamWord FC Pl_Fct_Truncate(WamWord x)
Definition: arith_inl_c.c:1069
Bool FC Pl_Blt_G_Deco(WamWord x, WamWord y)
Definition: g_var_inl_c.c:358
Bool FC Pl_Blt_Fast_Eq(WamWord x, WamWord y)
Definition: arith_inl_c.c:1128
Bool FC Pl_Blt_Non_Var(WamWord x)
Definition: type_inl_c.c:109
Bool FC Pl_Blt_Fast_Gte(WamWord x, WamWord y)
Definition: arith_inl_c.c:1164
WamWord FC Pl_Fct_Fast_Popcount(WamWord x)
Definition: arith_inl_c.c:679
WamWord FC Pl_Fct_And(WamWord x, WamWord y)
Definition: arith_inl_c.c:803
Bool FC Pl_Blt_Functor(WamWord term_word, WamWord functor_word, WamWord arity_word)
Definition: term_inl_c.c:220
WamWord FC Pl_Fct_Div2(WamWord x, WamWord y)
Definition: arith_inl_c.c:797
WamWord FC Pl_Fct_Asinh(WamWord x)
Definition: arith_inl_c.c:1010
Bool FC Pl_Blt_Term_Eq(WamWord x, WamWord y)
Definition: term_inl_c.c:81
WamWord FC Pl_Fct_Tanh(WamWord x)
Definition: arith_inl_c.c:970
WamWord FC Pl_Fct_Fast_Sub(WamWord x, WamWord y)
Definition: arith_inl_c.c:545
WamWord FC Pl_Fct_Fast_Add(WamWord x, WamWord y)
Definition: arith_inl_c.c:537
Bool FC Pl_Blt_Eq(WamWord x, WamWord y)
Definition: arith_inl_c.c:1175
Bool FC Pl_Blt_Non_Generic_Var(WamWord x)
Definition: type_inl_c.c:175
Bool FC Pl_Blt_G_Test_Set_Bit(WamWord x, WamWord y)
Definition: g_var_inl_c.c:442
void FC Pl_Blt_G_Set_Bit(WamWord x, WamWord y)
Definition: g_var_inl_c.c:412
Bool FC Pl_Blt_Fast_Gt(WamWord x, WamWord y)
Definition: arith_inl_c.c:1156
WamWord FC Pl_Fct_Atan2(WamWord x, WamWord y)
Definition: arith_inl_c.c:940
Bool FC Pl_Blt_G_Dec_2(WamWord x, WamWord y)
Definition: g_var_inl_c.c:376
WamWord FC Pl_Fct_Fast_Div(WamWord x, WamWord y)
Definition: arith_inl_c.c:561
WamWord FC Pl_Fct_Add(WamWord x, WamWord y)
Definition: arith_inl_c.c:755
WamWord FC Pl_Fct_Log_Radix(WamWord b, WamWord x)
Definition: arith_inl_c.c:1039
Bool FC Pl_Blt_G_Read(WamWord x, WamWord y)
Definition: g_var_inl_c.c:238
Bool FC Pl_Blt_Callable(WamWord x)
Definition: type_inl_c.c:151
WamWord FC Pl_Fct_Xor(WamWord x, WamWord y)
Definition: arith_inl_c.c:815
Bool FC Pl_Blt_Number(WamWord x)
Definition: type_inl_c.c:133
Bool FC Pl_Blt_Term_Lte(WamWord x, WamWord y)
Definition: term_inl_c.c:120
void FC Pl_Blt_G_Assign(WamWord x, WamWord y)
Definition: g_var_inl_c.c:193
WamWord FC Pl_Fct_Fast_Shr(WamWord x, WamWord y)
Definition: arith_inl_c.c:657
WamWord FC Pl_Fct_Dec(WamWord x)
Definition: arith_inl_c.c:749
WamWord FC Pl_Fct_Exp(WamWord x)
Definition: arith_inl_c.c:1021
Bool FC Pl_Blt_G_Inc_3(WamWord x, WamWord y, WamWord z)
Definition: g_var_inl_c.c:325
Bool FC Pl_Blt_List_Or_Partial_List(WamWord x)
Definition: type_inl_c.c:290
WamWord FC Pl_Fct_Ceiling(WamWord x)
Definition: arith_inl_c.c:1051
WamWord FC Pl_Fct_Integer_Pow(WamWord x, WamWord y)
Definition: arith_inl_c.c:908
Bool FC Pl_Blt_Partial_List(WamWord x)
Definition: type_inl_c.c:264
WamWord FC Pl_Fct_Fast_MSB(WamWord x)
Definition: arith_inl_c.c:672
WamWord FC Pl_Fct_Mod(WamWord x, WamWord y)
Definition: arith_inl_c.c:791
void FC Pl_Blt_G_Dec(WamWord x)
Definition: g_var_inl_c.c:343
WamWord FC Pl_Fct_Min(WamWord x, WamWord y)
Definition: arith_inl_c.c:878
Bool FC Pl_Blt_Gt(WamWord x, WamWord y)
Definition: arith_inl_c.c:1195
Bool FC Pl_Blt_Ground(WamWord x)
Definition: type_inl_c.c:188
Bool FC Pl_Blt_G_Dec_3(WamWord x, WamWord y, WamWord z)
Definition: g_var_inl_c.c:394
WamWord FC Pl_Fct_Float_Div(WamWord x, WamWord y)
Definition: arith_inl_c.c:779
long WamWord
Definition: LINUX_SIGSEGV.c:4
WamWord FC Pl_Fct_Float(WamWord x)
Definition: arith_inl_c.c:1045
int y
Definition: asm_inst.c:44
PlLong x
Definition: chkma.c:99
WamWord FC Pl_Fct_LSB(WamWord x)
Definition: arith_inl_c.c:839
WamWord FC Pl_Fct_Fast_LSB(WamWord x)
Definition: arith_inl_c.c:665
WamWord FC Pl_Fct_Fast_Div2(WamWord x, WamWord y)
Definition: arith_inl_c.c:603
Bool FC Pl_Blt_Univ(WamWord term_word, WamWord list_word)
Definition: term_inl_c.c:301
Bool FC Pl_Blt_G_Inc_2(WamWord x, WamWord y)
Definition: g_var_inl_c.c:307
WamWord FC Pl_Fct_Fast_Or(WamWord x, WamWord y)
Definition: arith_inl_c.c:629
WamWord FC Pl_Fct_PI(void)
Definition: arith_inl_c.c:1087
WamWord FC Pl_Fct_Tan(WamWord x)
Definition: arith_inl_c.c:928
WamWord FC Pl_Fct_Sinh(WamWord x)
Definition: arith_inl_c.c:1004
WamWord FC Pl_Fct_Fast_Sign(WamWord x)
Definition: arith_inl_c.c:693
WamWord FC Pl_Fct_Identity(WamWord x)
Definition: arith_inl_c.c:1108
Bool FC Pl_Blt_Integer(WamWord x)
Definition: type_inl_c.c:121
WamWord FC Pl_Fct_Fast_Abs(WamWord x)
Definition: arith_inl_c.c:686
int Bool
Definition: bool.h:65
void FC Pl_Blt_G_Link(WamWord x, WamWord y)
Definition: g_var_inl_c.c:223
WamWord FC Pl_Fct_Float_Fract_Part(WamWord x)
Definition: arith_inl_c.c:1075
void FC Pl_Blt_G_Assignb(WamWord x, WamWord y)
Definition: g_var_inl_c.c:208
#define FC
Definition: arch_dep.h:294
Bool FC Pl_Blt_Neq(WamWord x, WamWord y)
Definition: arith_inl_c.c:1180
Bool FC Pl_Blt_Lt(WamWord x, WamWord y)
Definition: arith_inl_c.c:1185
WamWord FC Pl_Fct_Neg(WamWord x)
Definition: arith_inl_c.c:737
Bool FC Pl_Blt_Gte(WamWord x, WamWord y)
Definition: arith_inl_c.c:1200
Bool FC Pl_Blt_Arg(WamWord arg_no_word, WamWord term_word, WamWord sub_term_word)
Definition: term_inl_c.c:195