[Vala] calling c code from vala (2)



With [Import] or [Import()] we can tell vala to get this function
from outside the vala source (mostly C).

But, we are forced to use the namespace_classname cprefix.
It is possible to change it? Something like that would be
the right way for me:

 [Import (cprefix = "")]
 public static int system(string command);


  --pancake



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