summaryrefslogtreecommitdiff
path: root/HACKING
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1997-04-01 03:11:44 +0000
committerJim Blandy <jimb@red-bean.com>1997-04-01 03:11:44 +0000
commitf84f77f58d9b27fbb696eba7834ec4bd2527cd7d (patch)
tree7fb33fe273a5009206d9f0454cf53188d08a5f53 /HACKING
parent2366f4453ea7170c43737ec5142eccc4a9f373d6 (diff)
downloadguile-f84f77f58d9b27fbb696eba7834ec4bd2527cd7d.tar.gz
*** empty log message ***
Diffstat (limited to 'HACKING')
-rw-r--r--HACKING14
1 files changed, 14 insertions, 0 deletions
diff --git a/HACKING b/HACKING
index a3cc004b9..7855241c0 100644
--- a/HACKING
+++ b/HACKING
@@ -70,5 +70,19 @@ until we have the necessary papers.
- When you make substantial changes to a file, add the current year to
the list of years in the copyright notice at the top of the file.
+- [From Mikael Djurfeldt] When working on the Guile internals, it is
+quite often practical to implement a scheme-level procedure which
+helps you examine the feature you're working on.
+
+Examples of such procedures are: pt-size, debug-hand and
+current-pstate.
+
+I've now put #ifdef GUILE_DEBUG around all such procedures, so that
+they are not compiled into the "normal" Guile library. Please do the
+same when you add new procedures/C functions for debugging purpose.
+
+You can define the GUILE_DEBUG flag by passing --enable-guile-debug to
+the configure script.
+
Jim Blandy