[Vala] .vala's and .h's




Hi, I want to now if is posible doing something like this:

Archive Function.c
------------------

    int sum (int a, int b) {
       return a+b;
    }


Archive Function.h
-------------------

    int sum (int a, int b);



Archive ExampleVala.vala
------------------------

    public static void main () {
         int a = suma(12, 46);
   }


It is, I want to use a function that i have in c with vala directly. ¿Exists any form to do that? Thanks
                                          
_________________________________________________________________
Accede a tu Hotmail en un solo clic ¡Descárgate Internet Explorer 8 y empieza a disfrutar de todas las 
ventajas!
http://www.ayudartepodria.com/


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