File: GC_README

package info (click to toggle)
esh 0.8-7
  • links: PTS
  • area: main
  • in suites: sarge, woody
  • size: 508 kB
  • ctags: 542
  • sloc: ansic: 3,608; lisp: 166; makefile: 72
file content (7 lines) | stat: -rw-r--r-- 313 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7

  The much-improved refcounter code in esh 0.5 can be used as a drop-in
replacement for malloc/free. It has been written in such a way as to be
imdependent of esh itself. Simply compile and link gc.c along with the
rest of your program, and replace calls to "malloc" with "gc_alloc",
and "free" with "gc_free".