193 |
@code{symbol-prefix-proc}. |
@code{symbol-prefix-proc}. |
194 |
|
|
195 |
@c begin (scm-doc-string "boot-9.scm" "symbol-prefix-proc") |
@c begin (scm-doc-string "boot-9.scm" "symbol-prefix-proc") |
196 |
@deffn procedure symbol-prefix-proc prefix-sym |
@deffn {Scheme Procedure} symbol-prefix-proc prefix-sym |
197 |
Return a procedure that prefixes its arg (a symbol) with |
Return a procedure that prefixes its arg (a symbol) with |
198 |
@var{prefix-sym}. |
@var{prefix-sym}. |
199 |
@c Insert gratuitous C++ slam here. --ttn |
@c Insert gratuitous C++ slam here. --ttn |
332 |
innards of Guile's module system. If you don't know precisely what you |
innards of Guile's module system. If you don't know precisely what you |
333 |
do, you should probably avoid using any of them. |
do, you should probably avoid using any of them. |
334 |
|
|
335 |
@deffn primitive standard-eval-closure module |
@deffn {Scheme Procedure} standard-eval-closure module |
336 |
|
@deffnx {C Function} scm_standard_eval_closure (module) |
337 |
Return an eval closure for the module @var{module}. |
Return an eval closure for the module @var{module}. |
338 |
@end deffn |
@end deffn |
339 |
|
|
495 |
complete control over which library is loaded when and what gets done |
complete control over which library is loaded when and what gets done |
496 |
with it. |
with it. |
497 |
|
|
498 |
@deffn primitive dynamic-link library |
@deffn {Scheme Procedure} dynamic-link library |
499 |
|
@deffnx {C Function} scm_dynamic_link (filename) |
500 |
Find the shared library denoted by @var{library} (a string) and link it |
Find the shared library denoted by @var{library} (a string) and link it |
501 |
into the running Guile application. When everything works out, return a |
into the running Guile application. When everything works out, return a |
502 |
Scheme object suitable for representing the linked object file. |
Scheme object suitable for representing the linked object file. |
508 |
reside, such as in @file{/usr/lib} and @file{/usr/local/lib}. |
reside, such as in @file{/usr/lib} and @file{/usr/local/lib}. |
509 |
@end deffn |
@end deffn |
510 |
|
|
511 |
@deffn primitive dynamic-object? val |
@deffn {Scheme Procedure} dynamic-object? val |
512 |
|
@deffnx {C Function} scm_dynamic_object_p (obj) |
513 |
Determine whether @var{val} represents a dynamically linked object file. |
Determine whether @var{val} represents a dynamically linked object file. |
514 |
@end deffn |
@end deffn |
515 |
|
|
516 |
@deffn primitive dynamic-unlink dynobj |
@deffn {Scheme Procedure} dynamic-unlink dynobj |
517 |
|
@deffnx {C Function} scm_dynamic_unlink (dynobj) |
518 |
Unlink the indicated object file from the application. The argument |
Unlink the indicated object file from the application. The argument |
519 |
@var{dynobj} should be one of the values returned by |
@var{dynobj} should be one of the values returned by |
520 |
@code{dynamic-link}. When @code{dynamic-unlink} has been called on |
@code{dynamic-link}. When @code{dynamic-unlink} has been called on |
522 |
below and you will get type mismatch errors when you try to. |
below and you will get type mismatch errors when you try to. |
523 |
@end deffn |
@end deffn |
524 |
|
|
525 |
@deffn primitive dynamic-func function dynobj |
@deffn {Scheme Procedure} dynamic-func function dynobj |
526 |
|
@deffnx {C Function} scm_dynamic_func (name, dynobj) |
527 |
Search the C function indicated by @var{function} (a string or symbol) |
Search the C function indicated by @var{function} (a string or symbol) |
528 |
in @var{dynobj} and return some Scheme object that can later be used |
in @var{dynobj} and return some Scheme object that can later be used |
529 |
with @code{dynamic-call} to actually call this function. Right now, |
with @code{dynamic-call} to actually call this function. Right now, |
536 |
needed or not and will add it when necessary. |
needed or not and will add it when necessary. |
537 |
@end deffn |
@end deffn |
538 |
|
|
539 |
@deffn primitive dynamic-call function dynobj |
@deffn {Scheme Procedure} dynamic-call function dynobj |
540 |
|
@deffnx {C Function} scm_dynamic_call (func, dynobj) |
541 |
Call the C function indicated by @var{function} and @var{dynobj}. The |
Call the C function indicated by @var{function} and @var{dynobj}. The |
542 |
function is passed no arguments and its return value is ignored. When |
function is passed no arguments and its return value is ignored. When |
543 |
@var{function} is something returned by @code{dynamic-func}, call that |
@var{function} is something returned by @code{dynamic-func}, call that |
552 |
@code{SCM_DEFER_INTS}/@code{SCM_ALLOW_INTS}). |
@code{SCM_DEFER_INTS}/@code{SCM_ALLOW_INTS}). |
553 |
@end deffn |
@end deffn |
554 |
|
|
555 |
@deffn primitive dynamic-args-call function dynobj args |
@deffn {Scheme Procedure} dynamic-args-call function dynobj args |
556 |
|
@deffnx {C Function} scm_dynamic_args_call (function, dynobj, args) |
557 |
Call the C function indicated by @var{function} and @var{dynobj}, just |
Call the C function indicated by @var{function} and @var{dynobj}, just |
558 |
like @code{dynamic-call}, but pass it some arguments and return its |
like @code{dynamic-call}, but pass it some arguments and return its |
559 |
return value. The C function is expected to take two arguments and |
return value. The C function is expected to take two arguments and |