Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Testing with ruby-head #109

Merged
merged 1 commit into from

3 participants

@coolo

ruby 2.0dev forces C90 on it's C extensions, so avoid // comments

@coolo coolo avoid C99 comments
ruby 2.0dev forces C90 on it's C extensions, so avoid // comments
692cab8
@travisbot

This pull request passes (merged 692cab8 into b08b3f7).

@brianmario brianmario merged commit 945a351 into brianmario:master

1 check passed

Details default The Travis build passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Sep 4, 2012
  1. @coolo

    avoid C99 comments

    coolo authored
    ruby 2.0dev forces C90 on it's C extensions, so avoid // comments
This page is out of date. Refresh to see the latest.
Showing with 6 additions and 5 deletions.
  1. +2 −1  .travis.yml
  2. +4 −4 ext/yajl/yajl_ext.h
View
3  .travis.yml
@@ -3,4 +3,5 @@ rvm:
- 1.9.2
- 1.9.3
- rbx
- - ree
+ - ree
+ - ruby-head
View
8 ext/yajl/yajl_ext.h
@@ -24,9 +24,9 @@
#include "api/yajl_parse.h"
#include "api/yajl_gen.h"
-// tell rbx not to use it's caching compat layer
-// by doing this we're making a promize to RBX that
-// we'll never modify the pointers we get back from RSTRING_PTR
+/* tell rbx not to use it's caching compat layer
+ by doing this we're making a promize to RBX that
+ we'll never modify the pointers we get back from RSTRING_PTR */
#define RSTRING_NOT_MODIFIED
#include <ruby.h>
@@ -132,4 +132,4 @@ static VALUE rb_yajl_json_ext_false_to_json(int argc, VALUE * argv, VALUE self);
static VALUE rb_yajl_json_ext_nil_to_json(int argc, VALUE * argv, VALUE self);
static VALUE rb_yajl_encoder_enable_json_gem_ext(VALUE klass);
-void Init_yajl();
+void Init_yajl();
Something went wrong with that request. Please try again.