[Vala] inline C



        Hi,

Take a look:
        int main (void) {
int Cvariable; __asm__ ("movl Cvariable, %eax"); // Cvariable contents > eax
                __asm__ ("movl $Cvariable, %ebx"); // ebx ---> Cvariable
        }

These are Assembler inline instructions, which you can use in C.

What do you think about having C inline in Vala? This looks quite natural for Vala. Especially while Vala is quite unperfect (having 304 open bugs). This could ease implementing workarounds ;)

Best regards, Ildar
--
Ildar  Mulyukov,  free SW designer/programmer
================================================
email: ildar users sourceforge net
home: http://tuganger.narod.ru/
ALT Linux Sisyphus
================================================



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