Changeset 848


Ignore:
Timestamp:
Jul 31, 2004, 4:38:38 PM (20 years ago)
Author:
Gary Byers
Message:

move %NEW-PTR here

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ccl/level-1/l1-io.lisp

    r466 r848  
    1616
    1717;; L1-io.lisp
     18
     19(defun %new-ptr (size &optional clear-p)
     20  (let* ((p (malloc size)))
     21    (if (and clear-p (not (%null-ptr-p p)))
     22      (#_bzero p size))
     23    p))
    1824
    1925
Note: See TracChangeset for help on using the changeset viewer.