[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 02/03: Remove useless subsection from hooks documentatio
From: |
Andy Wingo |
Subject: |
[Guile-commits] 02/03: Remove useless subsection from hooks documentation |
Date: |
Wed, 1 Mar 2017 15:51:16 -0500 (EST) |
wingo pushed a commit to branch master
in repository guile.
commit c896af55d40164f7a15cdeaf1f39841faeb37874
Author: Andy Wingo <address@hidden>
Date: Wed Mar 1 21:45:14 2017 +0100
Remove useless subsection from hooks documentation
* doc/ref/api-utility.texi (Hook Reference): Remove useless "handling
hooks from C" section that was also generating warnings.
---
doc/ref/api-utility.texi | 14 --------------
1 file changed, 14 deletions(-)
diff --git a/doc/ref/api-utility.texi b/doc/ref/api-utility.texi
index e2b60e2..d82d31a 100644
--- a/doc/ref/api-utility.texi
+++ b/doc/ref/api-utility.texi
@@ -612,20 +612,6 @@ Return 1 if @var{x} is a Scheme-level hook, 0 otherwise.
@end deftypefn
address@hidden Handling Scheme-level hooks from C code
-
-Here is an example of how to handle Scheme-level hooks from C code using
-the above functions.
-
address@hidden
-if (scm_is_true (scm_hook_p (obj)))
- /* handle Scheme-level hook using C functions */
- scm_reset_hook_x (obj);
-else
- /* do something else (obj is not a hook) */
address@hidden example
-
-
@node C Hooks
@subsubsection Hooks For C Code.