Re: [PATCH 9/9] add has: query prefix to search for specific properties
[notmuch-archives.git] / e4 / 21781d9c7a41bb52e5d47d508574cb2972e03c
1 Return-Path: <yeled@capslock.playlouder.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 08CD3431FAF\r
6         for <notmuch@notmuchmail.org>; Tue,  8 May 2012 05:51:50 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 24U7DmaZ6Q9v for <notmuch@notmuchmail.org>;\r
16         Tue,  8 May 2012 05:51:49 -0700 (PDT)\r
17 Received: from mail.playlouder.com (mail.playlouder.com [94.228.66.7])\r
18         by olra.theworths.org (Postfix) with ESMTP id 0BDA4431FAE\r
19         for <notmuch@notmuchmail.org>; Tue,  8 May 2012 05:51:49 -0700 (PDT)\r
20 Received: from localhost (localhost.localdomain [127.0.0.1])\r
21         by mail.playlouder.com (Postfix) with ESMTP id D2BC452009;\r
22         Tue,  8 May 2012 12:51:45 +0000 (UTC)\r
23 X-Virus-Scanned: Debian amavisd-new at mail.playlouder.com\r
24 Received: from mail.playlouder.com ([127.0.0.1])\r
25         by localhost (mail.playlouder.com [127.0.0.1]) (amavisd-new, port 10024)\r
26         with ESMTP id A7HP-7Mpv2OL; Tue,  8 May 2012 12:51:45 +0000 (UTC)\r
27 Received: from capslock.playlouder.com (capslock.playlouder.com\r
28         [94.228.68.132])\r
29         by mail.playlouder.com (Postfix) with ESMTPA id 90DFC52008;\r
30         Tue,  8 May 2012 12:51:45 +0000 (UTC)\r
31 Received: by capslock.playlouder.com (Postfix, from userid 501)\r
32         id 7DE096607877; Tue,  8 May 2012 13:51:45 +0100 (BST)\r
33 From: Charlie Allom <charlie@mediasp.com>\r
34 To: notmuch@notmuchmail.org,\r
35         Ali Polatel <alip@exherbo.org>\r
36 Subject: [PATCH] ruby: extern values in ruby defs.h\r
37 Date: Tue,  8 May 2012 13:51:07 +0100\r
38 Message-Id: <1336481467-66356-1-git-send-email-charlie@mediasp.com>\r
39 X-Mailer: git-send-email 1.7.5.4\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Tue, 08 May 2012 12:51:50 -0000\r
53 \r
54 Currently, building on OSX complains about linking duplicate symbols. This\r
55 fixes the error.\r
56 ---\r
57  bindings/ruby/defs.h |   46 +++++++++++++++++++++++-----------------------\r
58  1 files changed, 23 insertions(+), 23 deletions(-)\r
59 \r
60 diff --git a/bindings/ruby/defs.h b/bindings/ruby/defs.h\r
61 index 81f652f..bd124cc 100644\r
62 --- a/bindings/ruby/defs.h\r
63 +++ b/bindings/ruby/defs.h\r
64 @@ -24,31 +24,31 @@\r
65  #include <notmuch.h>\r
66  #include <ruby.h>\r
67 \r
68 -VALUE notmuch_rb_cDatabase;\r
69 -VALUE notmuch_rb_cDirectory;\r
70 -VALUE notmuch_rb_cFileNames;\r
71 -VALUE notmuch_rb_cQuery;\r
72 -VALUE notmuch_rb_cThreads;\r
73 -VALUE notmuch_rb_cThread;\r
74 -VALUE notmuch_rb_cMessages;\r
75 -VALUE notmuch_rb_cMessage;\r
76 -VALUE notmuch_rb_cTags;\r
77 -\r
78 -VALUE notmuch_rb_eBaseError;\r
79 -VALUE notmuch_rb_eDatabaseError;\r
80 -VALUE notmuch_rb_eMemoryError;\r
81 -VALUE notmuch_rb_eReadOnlyError;\r
82 -VALUE notmuch_rb_eXapianError;\r
83 -VALUE notmuch_rb_eFileError;\r
84 -VALUE notmuch_rb_eFileNotEmailError;\r
85 -VALUE notmuch_rb_eNullPointerError;\r
86 -VALUE notmuch_rb_eTagTooLongError;\r
87 -VALUE notmuch_rb_eUnbalancedFreezeThawError;\r
88 -VALUE notmuch_rb_eUnbalancedAtomicError;\r
89 -\r
90 -ID ID_call;\r
91 -ID ID_db_create;\r
92 -ID ID_db_mode;\r
93 +extern VALUE notmuch_rb_cDatabase;\r
94 +extern VALUE notmuch_rb_cDirectory;\r
95 +extern VALUE notmuch_rb_cFileNames;\r
96 +extern VALUE notmuch_rb_cQuery;\r
97 +extern VALUE notmuch_rb_cThreads;\r
98 +extern VALUE notmuch_rb_cThread;\r
99 +extern VALUE notmuch_rb_cMessages;\r
100 +extern VALUE notmuch_rb_cMessage;\r
101 +extern VALUE notmuch_rb_cTags;\r
102 +\r
103 +extern VALUE notmuch_rb_eBaseError;\r
104 +extern VALUE notmuch_rb_eDatabaseError;\r
105 +extern VALUE notmuch_rb_eMemoryError;\r
106 +extern VALUE notmuch_rb_eReadOnlyError;\r
107 +extern VALUE notmuch_rb_eXapianError;\r
108 +extern VALUE notmuch_rb_eFileError;\r
109 +extern VALUE notmuch_rb_eFileNotEmailError;\r
110 +extern VALUE notmuch_rb_eNullPointerError;\r
111 +extern VALUE notmuch_rb_eTagTooLongError;\r
112 +extern VALUE notmuch_rb_eUnbalancedFreezeThawError;\r
113 +extern VALUE notmuch_rb_eUnbalancedAtomicError;\r
114 +\r
115 +extern ID ID_call;\r
116 +extern ID ID_db_create;\r
117 +extern ID ID_db_mode;\r
118 \r
119  /* RSTRING_PTR() is new in ruby-1.9 */\r
120  #if !defined(RSTRING_PTR)\r
121 --\r
122 1.7.5.4\r
123 \r