[ruby-dev:46107] Re: 拡張ライブラリの質問

From: Nobuhiro IMAI <nov@...>
Date: 2012-09-04 12:02:24 UTC
List: ruby-dev #46107
いまいです。

From: SASADA Koichi <ko1_at_atdot.net>
Date: Tue, 4 Sep 2012 20:36:42 +0900

>  とりあえず,redcarpet <https://github.com/vmg/redcarpet/> というライブ
> ラリで問題を確認しました.

http_parser.rb という gem でもコンパイル出来ないです。
# https://github.com/tmm1/http_parser.rb

ruby_http_parser.c:358:21: error: expected expression before '/' token

   355	    if (!RTEST(wrapper->stopped) && !RTEST(wrapper->completed))
   356	      rb_raise(eParserError, "Could not parse data entirely");
   357	    else
   358	      nparsed += 1; // error states fail on the current character
   359	  }
   360	
   361	  return INT2FIX(nparsed);
--
Nobuhiro IMAI <[email protected]>
Key fingerprint = E57F 2482 4074 13BC 3B9A  165B C689 5B16 A620 4657

In This Thread