naruse
|
c4fdfabcc8
|
handle ext/ as r53141
g -L frozen_string_literal ext/**/*.rb|xargs ruby -Ka -e'ARGV.each{|fn|puts
fn;open(fn,"r+"){|f|s=f.read.sub(/\A(#!.*\n)?(#.*coding.*\n)?/,"\\&#
frozen_string_literal: false\n");f.rewind;f.write s}}'
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2015-12-16 05:31:54 +00:00 |
|
nobu
|
11c00acf8e
|
* cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixed
with ruby_ to export.
* ext/continuation/continuation.c, ext/fiber/fiber.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2009-01-20 07:17:28 +00:00 |
|
ko1
|
29538dbb0e
|
* ext/fiber/fiber.c: modify prototype declaration.
[ruby-core:12247]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-09-27 06:45:03 +00:00 |
|
ko1
|
e826eec433
|
* cont.c: Fiber as SemiCoroutine on default. [ruby-core:12146]
* ext/fiber/fiber.c: enable Fiber#transfer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-09-26 10:26:35 +00:00 |
|
ko1
|
977d66ec99
|
* cont.c: separate Continuation and Fiber from core.
* ext/continuation/*, ext/fiber/*: ditto.
* include/ruby/ruby.h: remove rb_cFiber.
* include/ruby/intern.h: add the rb_fiber_new() declaration.
* enumerator.c (next_init): fix to use rb_fiber_new().
* test/ruby/test_enumerator.rb: remove next? tests.
* test/ruby/test_continuation.rb: add a require 'continuation'.
* test/ruby/test_fiber.rb: add a require 'fiber'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
|
2007-08-25 02:03:44 +00:00 |
|