mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-24 20:08:10 +01:00
78c059a24c
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> |
||
---|---|---|
.. | ||
.gitignore | ||
database.c | ||
defs.h | ||
directory.c | ||
extconf.rb | ||
filenames.c | ||
init.c | ||
message.c | ||
messages.c | ||
query.c | ||
rdoc.sh | ||
README | ||
status.c | ||
tags.c | ||
thread.c | ||
threads.c |
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.