unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: Floris Bruynooghe <flub@devork.be>
To: notmuch@notmuchmail.org
Subject: python-cffi: experiment with extracting cdefs from notmuch.h
Date: Sun, 22 Nov 2020 17:23:52 +0100	[thread overview]
Message-ID: <20201122162353.63824-1-flub@devork.be> (raw)

Hi,

This is mostly an experiment because I got tired of copying the
C function defs from notmuch.h (in other words this was yak shaving
while I intended to see if I could get notmuch_database_get_directory
supported).  I'm not convinced this is better that what we had before
to be honest, but am curious what other people think of this approach.
In deltachat we do actually use this mechanism and it works nicely,
but there we don't have to deal with deprecated functions which is
what makes this ugly here.

Independenly maybe the changes to the makefile and README are useful
anyway.  I don't think the way this was build before always used the
right lib version, I think for running T391 we probably want to
compile with an RPATH.

Cheers,
Floris

             reply	other threads:[~2020-11-22 16:24 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-22 16:23 Floris Bruynooghe [this message]
2020-11-22 16:23 ` [PATCH] python-cffi: Extract cdefs from notmuch.h Floris Bruynooghe

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://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201122162353.63824-1-flub@devork.be \
    --to=flub@devork.be \
    --cc=notmuch@notmuchmail.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.
Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

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).