Add Racket support for std::unique_ptr and std::auto_ptr

Equivalent to Guile implementation.

Slight tweak to proxy ownership was required by adding in
the own member to swig_mz_proxy.
This commit is contained in:
William S Fulton 2022-08-18 22:41:40 +01:00
commit 48c644ea6e
9 changed files with 201 additions and 9 deletions

View file

@ -2,4 +2,8 @@
(require (lib "defmacro.ss"))
; Define an equivalent to Guile's gc procedure
(define-macro (gc)
`(collect-garbage 'major))
(load "../schemerunme/newobject1.scm")