Debian Codegraph @

src/doc/old-manual/ref_c_data_flow.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="utf-8"?>
2 <!DOCTYPE book [
3 <!ENTITY % eclent SYSTEM "ecl.ent">
4 %eclent;
5 ]>
6 <book xmlns="http://docbook.org/ns/docbook" version="5.0" xml:lang="en">
7 <chapter>
8 <title>Data and control flow</title>
9 <section xml:id="ansi.data-and-control.c-dict">
10 <title>C Reference</title>
11
12 <refentry xml:id="ecl_bds_bind">
13 <refnamediv>
14 <refname><function>ecl_bds_bind</function></refname>
15 <refpurpose>Bind a special variable</refpurpose>
16 </refnamediv>
17
18 <refsynopsisdiv>
19 <title>Functions</title>
20
21 <funcsynopsis>
22 <funcprototype>
23 <?dbhtml funcsynopsis-style='ansi'?>
24 <funcdef><function>ecl_bds_bind</function></funcdef>
25 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
26 <paramdef>cl_object <parameter>var</parameter></paramdef>
27 <paramdef>cl_object <parameter>value</parameter></paramdef>
28 </funcprototype>
29 </funcsynopsis>
30
31 <funcsynopsis>
32 <funcprototype>
33 <?dbhtml funcsynopsis-style='ansi'?>
34 <funcdef><function>ecl_bds_push</function></funcdef>
35 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
36 <paramdef>cl_object <parameter>var</parameter></paramdef>
37 </funcprototype>
38 </funcsynopsis>
39 </refsynopsisdiv>
40
41 <refsect1>
42 <title>Description</title>
43
44 <para>Establishes a variable binding for the symbol <replaceable>var</replaceable> in the Common Lisp environment <replaceable>env</replaceable>, assigning it <replaceable>value</replaceable>.</para>
45
46 <para>This macro or function is the equivalent of <ulink url="&clhs;s_let_l.htm"><symbol>LET*</symbol></ulink> and <ulink url="&clhs;s_let_l.htm"><symbol>LET</symbol></ulink>.</para>
47
48 <para><function>ecl_bds_push</function> does a similar thing, but reuses the old value of the same variable. It is thus the equivalent of <code>(LET ((VAR VAR)) ...)</code></para>
49
50 <para>Every variable binding must undone when no longer needed. It is best practice to match each call to <function>ecl_bds_bind</function> by another call to <link linkend="ecl_bds_unwind"><function>ecl_bds_unwind</function></link> in the same function.</para>
51 </refsect1>
52 </refentry>
53
54 <refentry xml:id="ecl_bds_unwind">
55 <refnamediv>
56 <refname><function>ecl_bds_unwind</function></refname>
57 <refpurpose>Undo one variable binding</refpurpose>
58 </refnamediv>
59
60 <refsynopsisdiv>
61 <title>Function</title>
62
63 <funcsynopsis>
64 <funcprototype>
65 <?dbhtml funcsynopsis-style='ansi'?>
66 <funcdef><function>ecl_bds_unwind1</function></funcdef>
67 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
68 </funcprototype>
69 </funcsynopsis>
70
71 <funcsynopsis>
72 <funcprototype>
73 <?dbhtml funcsynopsis-style='ansi'?>
74 <funcdef><function>ecl_bds_unwind_n</function></funcdef>
75 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
76 <paramdef>int <parameter>n</parameter></paramdef>
77 </funcprototype>
78 </funcsynopsis>
79 </refsynopsisdiv>
80
81 <refsect1>
82 <title>Description</title>
83
84 <para><function>ecl_bds_unwind1</function> undoes the outermost variable binding, restoring the original value of the symbol in the process.</para>
85
86 <para><function>ecl_bds_unwind_n</function> does the same, but for the <replaceable>n</replaceable> last variables.</para>
87
88 <para>Every variable binding must undone when no longer needed. It is best practice to match each call to <function>ecl_bds_bind</function> by another call to <link linkend="ecl_bds_unwind"><function>ecl_bds_unwind</function></link> in the same function.</para>
89 </refsect1>
90 </refentry>
91
92 <refentry xml:id="ecl_setq">
93 <refnamediv>
94 <refname><function>ecl_setq</function></refname>
95 <refpurpose>C equivalent of <ulink url="&clhs;s_setq.htm"><symbol>setq</symbol></ulink></refpurpose>
96 </refnamediv>
97
98 <refsynopsisdiv>
99 <title>Macro</title>
100
101 <funcsynopsis>
102 <funcprototype>
103 <?dbhtml funcsynopsis-style='ansi'?>
104 <funcdef><function>ecl_setq</function></funcdef>
105 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
106 <paramdef>cl_object <parameter>var</parameter></paramdef>
107 <paramdef>cl_object <parameter>value</parameter></paramdef>
108 </funcprototype>
109 </funcsynopsis>
110 </refsynopsisdiv>
111
112 <refsect1>
113 <title>Description</title>
114
115 <para>Assigns <replaceable>value</replaceable> to the special variable denoted by the symbol <replaceable>var</replaceable>, in the Common Lisp environment <replaceable>cl_env</replaceable>.</para>
116
117 <para>This function implements a variable assignment, not a variable binding. It is thus the equivalent of <ulink url="&clhs;s_setq.htm"><symbol>setq</symbol></ulink>.</para>
118 </refsect1>
119 </refentry>
120
121 <refentry xml:id="ecl_symbol_value">
122 <refnamediv>
123 <refname><function>ecl_symbol_value</function></refname>
124 <refpurpose>C equivalent of <ulink url="&clhs;f_symb_5.htm"><symbol>symbol-value</symbol></ulink></refpurpose>
125 </refnamediv>
126
127 <refsynopsisdiv>
128 <title>Funciton</title>
129
130 <funcsynopsis>
131 <funcprototype>
132 <?dbhtml funcsynopsis-style='ansi'?>
133 <funcdef><function>ecl_symbol_value</function></funcdef>
134 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
135 <paramdef>cl_object <parameter>var</parameter></paramdef>
136 </funcprototype>
137 </funcsynopsis>
138 </refsynopsisdiv>
139
140 <refsect1>
141 <title>Description</title>
142
143 <para>Retrieves the value of the special variable or constant denoted by the symbol <replaceable>var</replaceable>, in the Common Lisp environment <replaceable>cl_env</replaceable>.</para>
144
145 <para>This function implements the equivalent of <ulink url="&clhs;f_symb_5.htm"><symbol>symbol-value</symbol></ulink> and works both on special variables and constants.</para>
146
147 <para>If the symbol is not bound, an error is signaled.</para>
148 </refsect1>
149 </refentry>
150
151 <refentry xml:id="ref.ecl_va_arg">
152 <refnamediv>
153 <refname><function>ecl_va_arg</function></refname>
154 <refpurpose>Accepting a variable number of arguments</refpurpose>
155 </refnamediv>
156
157 <refsynopsisdiv>
158 <title>Macros</title>
159
160 <synopsis><type>typedef struct { ... } ecl_va_list[1];</type></synopsis>
161
162 <funcsynopsis>
163 <funcprototype>
164 <?dbhtml funcsynopsis-style='ansi'?>
165 <funcdef><function>ecl_va_start</function></funcdef>
166 <paramdef>ecl_va_list <parameter>arglist</parameter></paramdef>
167 <paramdef><parameter>last_argument</parameter></paramdef>
168 <paramdef><parameter>narg</parameter></paramdef>
169 <paramdef><parameter>n_ordinary</parameter></paramdef>
170 </funcprototype>
171 </funcsynopsis>
172
173 <funcsynopsis>
174 <funcprototype>
175 <?dbhtml funcsynopsis-style='ansi'?>
176 <funcdef>cl_object <function>ecl_va_arg</function></funcdef>
177 <paramdef>ecl_va_list <parameter>arglist</parameter></paramdef>
178 </funcprototype>
179 </funcsynopsis>
180
181 <funcsynopsis>
182 <funcprototype>
183 <?dbhtml funcsynopsis-style='ansi'?>
184 <funcdef>cl_object <function>ecl_va_end</function></funcdef>
185 <paramdef>ecl_va_list <parameter>arglist</parameter></paramdef>
186 </funcprototype>
187 </funcsynopsis>
188 </refsynopsisdiv>
189
190 <refsect1>
191 <title>Description</title>
192
193 <para>The macros above are used to code a function that accepts an arbitrary number of arguments. We will describe them in a practical example</para>
194 <programlisting>
195 cl_object my_plus(cl_narg narg, cl_object required1, ...)
196 {
197 cl_env_ptr env = ecl_process_env();
198 cl_object other_value;
199 ecl_va_list varargs;
200 ecl_va_start(varargs, required1, narg, 1);
201 while (narg > 1) {
202 cl_object other_value = ecl_va_arg(varargs);
203 required1 = ecl_plus(required1, other_value);
204 }
205 ecl_va_end(varargs);
206 ecl_return1(env, required1);
207 }
208 </programlisting>
209
210 <para>The first thing to do is to declare the variable that will hold the arguments. This is <replaceable>varargs</replaceable> in our example and it has the type <type>ecl_va_list</type>.</para>
211
212 <para>This arguments list is initialized with the <function>ecl_va_start</function> macro, based on the supplied number of arguments, <replaceable>narg</replaceable>, the number of required arguments which are passed as ordinary C arguments (1 in this case), the last such ordinary arguments, <replaceable>required</replaceable>, and the buffer for the argument list, <replaceable>varargs</replaceable>.</para>
213
214 <para>Once <replaceable>varargs</replaceable> has been initialized, we can retrieve these values one by one using <function>ecl_va_arg</function>. Note that the returned value always has the type <type>cl_object</type>, for it is always a Common Lisp object.</para>
215
216 <para>The last statement before returning the output of the function is <function>ecl_va_end</function>. This macro performs any required cleanup and should never be omitted.</para>
217 </refsect1>
218 </refentry>
219
220 <refentry>
221 <refnamediv>
222 <refname><function>ecl_nth_value</function>, <function>ecl_nvalues</function></refname>
223 <refpurpose>Accessing output values</refpurpose>
224 </refnamediv>
225
226 <refsynopsisdiv>
227 <title>Functions and macros</title>
228 <funcsynopsis>
229 <funcprototype>
230 <?dbhtml funcsynopsis-style='ansi'?>
231 <funcdef>cl_object <function>ecl_nvalues</function></funcdef>
232 <paramdef>cl_env_ptr <parameter>env</parameter></paramdef>
233 </funcprototype>
234 </funcsynopsis>
235
236 <funcsynopsis xml:id="ecl_nth_value">
237 <funcprototype>
238 <?dbhtml funcsynopsis-style='ansi'?>
239 <funcdef>cl_object <function>ecl_nth_value</function></funcdef>
240 <paramdef>cl_env_ptr <parameter>env</parameter></paramdef>
241 <paramdef>int <parameter>n</parameter></paramdef>
242 </funcprototype>
243 </funcsynopsis>
244 </refsynopsisdiv>
245
246 <refsect1>
247 <title>Description</title>
248 <para>Common Lisp functions may return zero, one or more values. In &ECL;, the first two cases do not require any special manipulation, as the C function returns either <symbol>NIL</symbol> or the first (zeroth) value directly. However, if one wishes to access additional values from a function, one needs to use these two macros or functions</para>
249 <itemizedlist>
250 <listitem><para><code>ecl_nvalues(env)</code> returns the number of values that the function actually outputs. The single argument is the <link linkend="ecl_process_env">lisp environment</link>. This value is larger or equal to 0 and smaller than <constant>ECL_MULTIPLE_VALUES_LIMIT</constant>.</para></listitem>
251
252 <listitem><para>Once we know the number of return values, they can be directly accessed using the function <code>ecl_nth_value(env,n)</code>, where <replaceable>n</replaceable> is a number larger than or equal to 1, and smaller than <constant>ECL_MULTIPLE_VALUES_LIMIT</constant>, which must correspond to a valid output value. No checking is done.</para></listitem>
253 </itemizedlist>
254
255 <para>Note that in both cases these macros and functions have to be used right after the Lisp function was called. This is so because other Lisp functions might destroy the content of the return stack.</para>
256 </refsect1>
257
258 <refsect1>
259 <title>Example</title>
260 <para>A C/C++ exceprt</para>
261 <programlisting>
262 cl_env_ptr env = ecl_process_env();
263 cl_object a = ecl_make_fixnum(13);
264 cl_object b = ecl_make_fixnum(6);
265 cl_object modulus = cl_floor(2, a, b);
266 cl_object remainder = ecl_nth_value(env, 1);
267 </programlisting>
268 <para>The somewhat equivalent Common Lisp code</para>
269 <programlisting>
270 (multiple-value-bind (modulus equivalent)
271 (floor 13 6))
272 </programlisting>
273 </refsect1>
274 </refentry>
275
276 <refentry>
277 <refnamediv>
278 <refname><function>ecl_return0</function>, <function>ecl_return1</function>, ...</refname>
279 <refpurpose>Returning multiple values</refpurpose>
280 </refnamediv>
281
282 <refsynopsisdiv>
283 <funcsynopsis>
284 <funcprototype>
285 <?dbhtml funcsynopsis-style='ansi'?>
286 <funcdef><function>ecl_return0</function></funcdef>
287 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
288 </funcprototype>
289 </funcsynopsis>
290
291 <funcsynopsis>
292 <funcprototype>
293 <?dbhtml funcsynopsis-style='ansi'?>
294 <funcdef><function>ecl_return1</function></funcdef>
295 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
296 <paramdef>cl_object <parameter>value1</parameter></paramdef>
297 </funcprototype>
298 </funcsynopsis>
299
300 <funcsynopsis>
301 <funcprototype>
302 <?dbhtml funcsynopsis-style='ansi'?>
303 <funcdef><function>ecl_return2</function></funcdef>
304 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
305 <paramdef>cl_object <parameter>value1</parameter></paramdef>
306 <paramdef>cl_object <parameter>value2</parameter></paramdef>
307 </funcprototype>
308 </funcsynopsis>
309
310 <funcsynopsis>
311 <funcprototype>
312 <?dbhtml funcsynopsis-style='ansi'?>
313 <funcdef><function>ecl_return3</function></funcdef>
314 <paramdef>cl_env_ptr <parameter>cl_env</parameter></paramdef>
315 <paramdef>cl_object <parameter>value1</parameter></paramdef>
316 <paramdef>cl_object <parameter>value2</parameter></paramdef>
317 <paramdef>cl_object <parameter>value3</parameter></paramdef>
318 </funcprototype>
319 </funcsynopsis>
320 </refsynopsisdiv>
321
322 <refsect1>
323 <title>Description</title>
324
325 <para>Returns <replaceable>N</replaceable> values from a C/C++ function in a way that a Common Lisp function can recognize and use them. The 0-th value is returned directly, while values 1 to N are stored in the Common Lisp environment <replaceable>cl_env</replaceable>. This macro has to be used from a function which returns an object of type <type>cl_object</type>.</para>
326 </refsect1>
327 </refentry>
328
329 <refentry>
330 <refnamediv>
331 <refname><function>ECL_BLOCK_BEGIN</function></refname>
332 <refpurpose>C macro for <ulink url="&clhs;s_block.htm"><symbol>block</symbol></ulink></refpurpose>
333 </refnamediv>
334
335 <refsynopsisdiv>
336 <synopsis><code><function>ECL_BLOCK_BEGIN</function>(env,code) {</code></synopsis>
337 <synopsis><code>} <function>ECL_BLOCK_END</function>;</code></synopsis>
338 </refsynopsisdiv>
339
340 <refsect1>
341 <title>Description</title>
342
343 <para><function>ECL_BLOCK_BEGIN</function> establishes a block named <replaceable>code</replaceable> that becomes visible for the Common Lisp code. This block can be used then as a target for <function>cl_return</function>.</para>
344
345 <para><replaceable>env</replaceable> must be the value of the current Common Lisp environment, obtained with <function>ecl_process_env</function>.</para>
346
347 <para>The C/C++ program has to ensure that the code in <function>ECL_BLOCK_END</function> gets executed, avoiding a direct exit of the block via <code>goto</code> or a C/C++ <code>return</code>.</para>
348 </refsect1>
349 </refentry>
350
351 <refentry>
352 <refnamediv>
353 <refname><function>ECL_CATCH_BEGIN</function></refname>
354 <refpurpose>C macro for <ulink url="&clhs;s_catch.htm"><symbol>catch</symbol></ulink></refpurpose>
355 </refnamediv>
356
357 <refsynopsisdiv>
358 <synopsis><code><function>ECL_CATCH_BEGIN</function>(env,tag) {</code></synopsis>
359 <synopsis><code>} <function>ECL_CATCH_END</function>;</code></synopsis>
360 </refsynopsisdiv>
361
362 <refsect1>
363 <title>Description</title>
364
365 <para><function>ECL_CATCH_BEGIN</function> establishes a destination for <symbol>throw</symbol> with the code given by <replaceable>tag</replaceable>.</para>
366
367 <para><replaceable>env</replaceable> must be the value of the current Common Lisp environment, obtained with <function>ecl_process_env</function>.</para>
368
369 <para>The C/C++ program has to ensure that the code in <function>ECL_CATCH_END</function> gets executed, avoiding a direct exit of the catch block via <code>goto</code> or a C/C++ <code>return</code>.</para>
370 </refsect1>
371 </refentry>
372
373 <refentry>
374 <refnamediv>
375 <refname><function>ECL_UNWIND_PROTECT_BEGIN</function></refname>
376 <refpurpose>C macro for <ulink url="&clhs;s_unwind.htm"><symbol>unwind-protect</symbol></ulink></refpurpose>
377 </refnamediv>
378
379 <refsynopsisdiv>
380 <synopsis><code><function>ECL_UNWIND_PROTECT_BEGIN</function>(env) {</code></synopsis>
381 <synopsis><code>} <function>ECL_UNWIND_PROTECT_EXIT</function> {</code></synopsis>
382 <synopsis><code>} <function>ECL_UNWIND_PROTECT_END</function>;</code></synopsis>
383 </refsynopsisdiv>
384
385 <refsect1>
386 <title>Description</title>
387
388 <para><function>ECL_UNWIND_PROTECT_BEGIN</function> establishes two blocks of C code that work like the equivalent ones in Common Lisp: a protected block, contained between the "BEGIN" and the "EXIT" statement, and the exit block, appearing immediately afterwards. The form guarantees that the exit block is always executed, even if the protected block attempts to exit via som nonlocal jump construct (<symbol>throw</symbol>,<symbol>return</symbol>, etc).</para>
389
390 <para><replaceable>env</replaceable> must be the value of the current Common Lisp environment, obtained with <function>ecl_process_env</function>.</para>
391
392 <para>The utility of this construct is limited, for it only protects against nonlocal exits caused by Common Lisp constructs: it does not interfere with C <code>goto</code>, <code>return</code> or with C++ exceptions.</para>
393 </refsect1>
394 </refentry>
395
396 <refentry>
397 <refnamediv>
398 <refname>ANSI Dictionary</refname>
399 <refpurpose>&ANSI-C-Dict;</refpurpose>
400 </refnamediv>
401
402 <refsynopsisdiv>
403 <simplelist columns="2" type="horiz">
404 <member>Lisp symbol</member>
405 <member>C function or constant</member>
406
407 <member><ulink url="&clhs;f_apply.htm"><symbol>apply</symbol></ulink></member>
408 <member><code>cl_object cl_apply(cl_narg narg, cl_object function, ...)</code></member>
409
410 <member><ulink url="&clhs;v_call_a.htm"><symbol>call-arguments-limit</symbol></ulink></member>
411 <member><constant>ECL_CALL_ARGUMENTS_LIMIT</constant></member>
412
413 <member><ulink url="&clhs;f_cmpd_f.htm"><symbol>compiled-function-p</symbol></ulink></member>
414 <member><code>cl_object cl_compiled_function_p(cl_object object)</code></member>
415
416 <member><ulink url="&clhs;f_comple.htm"><symbol>complement</symbol></ulink></member>
417 <member><code>cl_object cl_complement(cl_object function)</code></member>
418
419 <member><ulink url="&clhs;f_cons_1.htm"><symbol>constantly</symbol></ulink></member>
420 <member><code>cl_object cl_constantly(cl_object value)</code></member>
421
422 <member><ulink url="&clhs;f_every.htm"><symbol>every</symbol></ulink></member>
423 <member><code>cl_object cl_every(cl_narg narg, cl_object predicate, ...)</code></member>
424
425 <member><ulink url="&clhs;f_eq.htm"><symbol>eq</symbol></ulink></member>
426 <member><code>cl_object cl_eq(cl_object x, cl_object y)</code></member>
427
428 <member><ulink url="&clhs;f_eql.htm"><symbol>eql</symbol></ulink></member>
429 <member><code>cl_object cl_eql(cl_object x, cl_object y)</code></member>
430
431 <member><ulink url="&clhs;f_equal.htm"><symbol>equal</symbol></ulink></member>
432 <member><code>cl_object cl_equal(cl_object x, cl_object y)</code></member>
433
434 <member><ulink url="&clhs;f_equalp.htm"><symbol>equalp</symbol></ulink></member>
435 <member><code>cl_object cl_equalp(cl_object x, cl_object y)</code></member>
436
437 <member><ulink url="&clhs;f_fbound.htm"><symbol>fboundp</symbol></ulink></member>
438 <member><code>cl_object cl_fboundp(cl_object function_name)</code></member>
439
440 <member><ulink url="&clhs;f_fdefin.htm"><symbol>fdefinition</symbol></ulink></member>
441 <member><code>cl_object cl_fdefinition(cl_object function_name)</code></member>
442
443 <member><ulink url="&clhs;f_fmakun.htm"><symbol>fmakunbound</symbol></ulink></member>
444 <member><code>cl_object cl_fmakunbound(cl_object function_name)</code></member>
445
446 <member><ulink url="&clhs;f_funcal.htm"><symbol>funcall</symbol></ulink></member>
447 <member><code>cl_object cl_funcall(cl_narg narg, cl_object function, ...)</code></member>
448
449 <member><ulink url="&clhs;f_fn_lam.htm"><symbol>function-lambda-expression</symbol></ulink></member>
450 <member><code>cl_object cl_function_lambda_expression(cl_object function)</code></member>
451
452 <member><ulink url="&clhs;f_fnp.htm"><symbol>functionp</symbol></ulink></member>
453 <member><code>cl_object cl_functionp(cl_object object)</code></member>
454
455 <member><ulink url="&clhs;f_get_se.htm"><symbol>get-setf-expansion</symbol></ulink></member>
456 <member><code>cl_object cl_get_setf_expansion(cl_narg narg, cl_object place, ...)</code></member>
457
458 <member><ulink url="&clhs;f_identi.htm"><symbol>identity</symbol></ulink></member>
459 <member><code>cl_object cl_identity(cl_object x)</code></member>
460
461 <member><ulink url="&clhs;s_let_l.htm"><symbol>LET</symbol>, <symbol>LET*</symbol></ulink></member>
462 <member><code>cl_object <link linkend="ecl_bds_bind">ecl_bds_bind</link>(cl_env_ptr env, cl_object symbol, cl_object value)</code></member>
463
464 <member><ulink url="&clhs;v_lamb_1.htm"><symbol>lambda-parameters-limit</symbol></ulink></member>
465 <member><constant>ECL_LAMBDA_PARAMETERS_LIMIT</constant></member>
466
467 <member><ulink url="&clhs;v_multip.htm"><symbol>multiple-values-limit</symbol></ulink></member>
468 <member><constant>ECL_MULTIPLE_VALUES_LIMIT</constant></member>
469
470 <member><ulink url="&clhs;f_not.htm"><symbol>not</symbol></ulink></member>
471 <member><code>cl_object cl_not(cl_object object)</code></member>
472
473 <member><ulink url="&clhs;f_notevery.htm"><symbol>notevery</symbol></ulink></member>
474 <member><code>cl_object cl_notevery(cl_narg narg, cl_object predicate, ...)</code></member>
475
476 <member><ulink url="&clhs;f_notany.htm"><symbol>notany</symbol></ulink></member>
477 <member><code>cl_object cl_notany(cl_narg narg, cl_object predicate, ...)</code></member>
478
479 <member><ulink url="&clhs;f_set.htm"><symbol>set</symbol></ulink></member>
480 <member><code>cl_object cl_set(cl_object symbol, cl_object value)</code></member>
481
482 <member><ulink url="&clhs;s_setq.htm"><symbol>setq</symbol></ulink></member>
483 <member><code>cl_object <link linkend="ecl_setq">ecl_setq</link>(cl_env_ptr env, cl_object symbol, cl_object value)</code></member>
484
485 <member><ulink url="&clhs;f_symb_5.htm"><symbol>symbol-value</symbol></ulink></member>
486 <member><code>cl_object <link linkend="ecl_symbol_value">ecl_symbol_value</link>(cl_env_ptr env, cl_object symbol)</code></member>
487
488 <member><ulink url="&clhs;f_some.htm"><symbol>some</symbol></ulink></member>
489 <member><code>cl_object cl_some(cl_narg narg, cl_object predicate, ...)</code></member>
490
491 <member><ulink url="&clhs;f_vals_l.htm"><symbol>values-list</symbol></ulink></member>
492 <member><code>cl_object cl_values_list(cl_object list)</code></member>
493 </simplelist>
494 </refsynopsisdiv>
495
496 <refsect1>
497 <title>Description</title>
498 <para></para>
499 </refsect1>
500 </refentry>
501 </section>
502 </chapter>
503 </book>