[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: type friction C <-> scheme
From: |
David Pirotte |
Subject: |
Re: type friction C <-> scheme |
Date: |
Mon, 12 Jun 2017 05:00:08 -0300 |
Hello Matt
> ;; "FreeXL_CellValue"
>
> ;; typedef struct FreeXL_CellValue_str FreeXL_CellValue;
> (define-std-pointer-wrapper FreeXL_CellValue*)
> ...
Your ffi-help, snarf *.h is a nice project, but it would be, maybe, interesting
that
you look at a way to 'schemefy' names, like it's done for guile-gnome and g-golf
http://git.savannah.gnu.org/cgit/guile-gnome.git/tree/glib/gnome/gobject/utils.scm
look for
StudlyCapsExpand ...
I simplified a bit that code for G-Golf, here:
http://git.savannah.gnu.org/cgit/g-golf.git/tree/g-golf/gi/utils.scm
look for
g-golf-gstudly-caps-expand
%g-golf-gtype-name->scm-name-exceptions
g-golf-gtype-name->scm-name
g-golf-gtype-name->class-name
...
Just an idea ...
Cheers,
David
pgp_juzjnBMHT.pgp
Description: OpenPGP digital signature
- Re: type friction C <-> scheme, (continued)
- Re: type friction C <-> scheme, Matt Wette, 2017/06/09
- Re: type friction C <-> scheme, Catonano, 2017/06/09
- Re: type friction C <-> scheme, Matt Wette, 2017/06/09
- Re: type friction C <-> scheme, Catonano, 2017/06/10
- Re: type friction C <-> scheme, Mark H Weaver, 2017/06/11
- Re: type friction C <-> scheme, Matt Wette, 2017/06/11
- Re: type friction C <-> scheme, Catonano, 2017/06/11
Re: type friction C <-> scheme, Matt Wette, 2017/06/11