[#3006] CVS repository — "Eugene Scripnik" <hoaz@...>

Hello.

21 messages 2004/06/16
[#3008] Re: CVS repository — ts <decoux@...> 2004/06/16

>>>>> "E" == Eugene Scripnik <hoaz@gala.net> writes:

[#3009] Re: CVS repository — Michal Rokos <michal@...> 2004/06/16

Hi!

[#3057] Ruby 1.8.2 to be released. — matz@... (Yukihiro Matsumoto)

Hi,

20 messages 2004/06/23

Prototypes (C&R 'C')

From: Michal Rokos <michal@...>
Date: 2004-06-14 11:39:16 UTC
List: ruby-core #2983
Hello,

the current function prototypes are as:
void
rb_mem_clear(mem, size)
    register VALUE *mem;
    register long size;
{
... so it's an old style. The reason for this was 'make ruby compilable' 
for old C-compiler.

OK.

But Oniguruma sources are written in 'new' prototypes:
static void
region_list_clear(OnigRegion** list)
{
... so ruby isn't compilable any longer on those old-C-compilers.

I'd suggest to fluently migrate to this new style as we're making 
changes/fixes in ruby.

In other words: when you're fixing something in some function, migrate 
that function to 'new' prototype as well.

What do you think?

	Michal.

In This Thread

Prev Next