Re: [Vala] Are htons() and atoi() somewhere ?



* Xavier Bestel <xavier bestel free fr> wrote:
Yes, Vala is Vala, but I don't know exactely what it is and it looked
like C :) Thanks Anyway.

I'll explain it to you in a little more detail. The C language
understands the notion between `implicit' and `explicit' function
prototypes. An example of an implicit prototype is:

| int foo();

Which tells you: There is a function called foo(), which returns an
integer. Between the braces is nothing, which means it is unclear what
the function's arguments are.

An example of explicit prototypes are:

| int dog(int bar, int baz, char qux);
| int cat(void);

The second one says: there is cat(), which doesn't take any arguments.

-- 
 Ed Schouten <ed fxq nl>
 WWW: http://g-rave.nl/

Attachment: pgp3fPTgFauDl.pgp
Description: PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]