~ubuntu-branches/ubuntu/vivid/ruby-curb/vivid-proposed

« back to all changes in this revision

Viewing changes to ext/curb.h

  • Committer: Package Import Robot
  • Author(s): David Suárez, David Suárez
  • Date: 2014-09-28 21:52:35 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20140928215235-dclw8i6rguxmd6vv
Tags: 0.8.6-1
* Team upload

[ David Suárez ]
* New upstream version.
* Remove 'add-support-for-curl-7.33.0' patch; applied upstream.
* Refresh patches.
* debian/control: update Homepage.
* debian/ruby-curb.docs: update README filename.
* debian/changelog: default to medium urgency.
* debian/copyright: fix license short name.

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#include "curb_macros.h"
21
21
 
22
22
// These should be managed from the Rake 'release' task.
23
 
#define CURB_VERSION   "0.8.5"
24
 
#define CURB_VER_NUM   805
 
23
#define CURB_VERSION   "0.8.6"
 
24
#define CURB_VER_NUM   806
25
25
#define CURB_VER_MAJ   0
26
26
#define CURB_VER_MIN   8
27
 
#define CURB_VER_MIC   5
 
27
#define CURB_VER_MIC   6
28
28
#define CURB_VER_PATCH 0
29
29
 
30
30
 
37
37
  #define RSTRING_PTR(x) RSTRING(x)->ptr
38
38
#endif
39
39
 
40
 
#ifndef RHASH_LEN
41
 
#ifdef HAVE_RUBY19_HASH
42
 
  #define RHASH_LEN(hash) RHASH(hash)->ntbl->num_entries
43
 
#else
44
 
  #define RHASH_LEN(hash) RHASH(hash)->tbl->num_entries
45
 
#endif
 
40
#ifndef RHASH_SIZE
 
41
  #define RHASH_SIZE(hash) RHASH(hash)->tbl->num_entries
46
42
#endif
47
43
 
48
44
extern VALUE mCurl;