/[guile]/guile/guile-core/doc/ref/scheme-modules.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/scheme-modules.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.8 by mvo, Mon Jul 8 18:55:21 2002 UTC revision 1.9 by ghouston, Tue Jul 9 22:40:03 2002 UTC
# Line 542  needed or not and will add it when neces Line 542  needed or not and will add it when neces
542    
543  @deffn {Scheme Procedure} dynamic-call func dobj  @deffn {Scheme Procedure} dynamic-call func dobj
544  @deffnx {C Function} scm_dynamic_call (func, dobj)  @deffnx {C Function} scm_dynamic_call (func, dobj)
545  Call the C function indicated by @var{func} and @var{dobj}.  Call a C function in a dynamic object.  Two styles of
546  The function is passed no arguments and its return value is  invocation are supported:
547  ignored.  When @var{function} is something returned by  
548  @code{dynamic-func}, call that function and ignore @var{dobj}.  @itemize @bullet
549  When @var{func} is a string , look it up in @var{dynobj}; this  @item @var{func} can be a function handle returned by
550  is equivalent to  @code{dynamic-func}.  In this case @var{dobj} is
551    ignored
552    @item @var{func} can be a string with the name of the
553    function to call, with @var{dobj} the handle of the
554    dynamic object in which to find the function.
555    This is equivalent to
556  @smallexample  @smallexample
557  (dynamic-call (dynamic-func @var{func} @var{dobj} #f))  
558    (dynamic-call (dynamic-func @var{func} @var{dobj}) #f)
559  @end smallexample  @end smallexample
560    @end itemize
561    
562  Interrupts are deferred while the C function is executing (with  In either case, the function is passed no arguments
563  @code{SCM_DEFER_INTS}/@code{SCM_ALLOW_INTS}).  and its return value is ignored.
564  @end deffn  @end deffn
565    
566  @deffn {Scheme Procedure} dynamic-args-call func dobj args  @deffn {Scheme Procedure} dynamic-args-call func dobj args

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26