notmuch/bindings/ruby
Felipe Contreras 78c059a24c ruby: simplify data get helper
Data_Get_Struct is nothing but a macro that calls
rb_data_object_get with a cast (unnecessary in C).

        #define Data_Get_Struct(obj, type, sval) \
            ((sval) = RBIMPL_CAST((type*)rb_data_object_get(obj)))

We can use rb_data_object_get directly, and this way we don't need to
pass the type, which is unnecessary information.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
2021-05-17 07:25:14 -03:00
..
.gitignore
database.c
defs.h ruby: simplify data get helper 2021-05-17 07:25:14 -03:00
directory.c ruby: add missing Data_Get_Notmuch helpers 2021-05-12 19:13:02 -03:00
extconf.rb
filenames.c
init.c ruby: fix ruby 3.1 warnings 2021-04-18 21:42:43 -03:00
message.c
messages.c
query.c
rdoc.sh
README
status.c Use https instead of http where possible 2016-06-05 08:32:17 -03:00
tags.c
thread.c
threads.c ruby: add missing Data_Get_Notmuch helpers 2021-05-12 19:13:02 -03:00

To build the the notmuch ruby extension, run the following commands
from the *top level* notmuch source directory:

% ./configure
% make ruby-bindings

The generic documentation about building notmuch also applies.