g-wrap-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Callee owned WCT's


From: Tommi Höynälänmaa
Subject: Callee owned WCT's
Date: Thu, 30 Aug 2018 15:13:03 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0


Additionally, you have to make the following modification to procedure
check-typespec-options in file g-wrap/c-types.scm:

---cut here---
(define-method (check-typespec-options (type <gw-wct>) (options <list>))
  (let ((remainder (lset-difference eq? options (append '(caller-owned
callee-owned const)
                                                        (slot-ref type 'allowed-options)))))
    (if (not (null? remainder))
    (raise-bad-typespec type options "spurious options: ~S" remainder))))
---cut here---

    - Tommi Höynälänmaa




reply via email to

[Prev in Thread] Current Thread [Next in Thread]