From: Matt Wette <matt.wette@gmail.com>
To: David Pirotte <david@altosw.be>
Cc: guile-user@gnu.org
Subject: Re: type friction C <-> scheme
Date: Mon, 12 Jun 2017 05:45:09 -0700 [thread overview]
Message-ID: <1039E983-2BC3-4782-9B9A-897BE0432282@gmail.com> (raw)
In-Reply-To: <20170612050008.56e5b372@capac>
> On Jun 12, 2017, at 1:00 AM, David Pirotte <david@altosw.be> wrote:
>
> 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
I can add a renamer option.
prev parent reply other threads:[~2017-06-12 12:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-09 20:36 type friction C <-> scheme Catonano
2017-06-09 20:52 ` Mike Gran
2017-06-09 21:33 ` Catonano
2017-06-09 20:56 ` Matt Wette
2017-06-09 21:39 ` Catonano
2017-06-09 22:33 ` Matt Wette
2017-06-10 6:26 ` Catonano
2017-06-11 5:50 ` Mark H Weaver
2017-06-11 13:07 ` Matt Wette
2017-06-11 17:15 ` Catonano
2017-06-11 18:01 ` Matt Wette
2017-06-11 18:20 ` Catonano
2017-06-12 8:00 ` David Pirotte
2017-06-12 12:45 ` Matt Wette [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1039E983-2BC3-4782-9B9A-897BE0432282@gmail.com \
--to=matt.wette@gmail.com \
--cc=david@altosw.be \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).