Re: [Vala] Inline C



Hi,

On Fri, 2008-01-25 at 00:02 +0100, Mikael Hermansson wrote:
Is it possible to have "inline" C code in vala if not it would be great
too have it.

Vala doesn't support inline C code as it would only make the language
unnecessary complicated. If you want to write C code, use [Import] as
described by Vlad. You should almost never really need to write C code.
If you think you need it, it might be a bug in Vala.

For example right now i need too use mysql in vala...

So what you really want are Vala bindings for the MySQL client library,
right? Shouldn't be too difficult to write.

Jürg




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