Re: [PATCH 02/25] Define structure

2017-03-11 Thread Dmitry Bogatov
[2017-03-10 05:46] Thien-Thi Nguyen > () Dmitry Bogatov > () Mon, 18 Jul 2016 20:59:03 +0300 > >> > +(define-module (system foreign declarative) >> > +  #:export (make-foreign-type) >> > +  #:export (define-foreign-type)) >> > +(use-modules (srfi srfi-9)) > >> You don't have

Re: [PATCH 02/25] Define structure

2017-03-09 Thread Thien-Thi Nguyen
() Dmitry Bogatov () Mon, 18 Jul 2016 20:59:03 +0300 > > +(define-module (system foreign declarative) > > +  #:export (make-foreign-type) > > +  #:export (define-foreign-type)) > > +(use-modules (srfi srfi-9)) > You don't have to write #:export several times, one just > enough

Re: [PATCH 02/25] Define structure

2016-07-18 Thread Nala Ginrut
Hi Dmitry! Thanks for working on it! On Mon, 2016-07-18 at 18:17 +0300, kact...@gnu.org wrote: > From: Dmitry Bogatov >  > +(define-module (system foreign declarative) > +  #:export (make-foreign-type) > +  #:export (define-foreign-type)) > +(use-modules (srfi srfi-9)) You don't have to write #

Re: [PATCH 02/25] Define structure

2016-07-18 Thread Dmitry Bogatov
> > +(define-module (system foreign declarative) > > +  #:export (make-foreign-type) > > +  #:export (define-foreign-type)) > > +(use-modules (srfi srfi-9)) > You don't have to write #:export several times, one just enough > #:export (make-foreign-type define-foreign-type) Thanks for review. I kn

[PATCH 02/25] Define structure

2016-07-18 Thread KAction
From: Dmitry Bogatov * module/system/foreign/declarative.scm: new structure , incapsulating information how convert objects from Scheme representation to C, and via-verse. * module/system/foreign/declarative.scm: create and export new functions `make-foreign-type' and `define-foreign-