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:
parent
5365149ae4
commit
48c644ea6e
9 changed files with 201 additions and 9 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue