What is this strange function definition syntax in C?
Posted
by Tom Dalling
on Stack Overflow
See other posts from Stack Overflow
or by Tom Dalling
Published on 2010-06-10T16:10:05Z
Indexed on
2010/06/10
16:12 UTC
Read the original article
Hit count: 143
I've seen a few function definitions like this recently while playing with GNU Bison:
static VALUE
ripper_pos(self)
VALUE self;
{
//code here
}
Why is the type of self
outside of the parenthesis? Is this valid C?
© Stack Overflow or respective owner