[Vala] Questions about vapi generation and testing





I have generated and tested a vapi for couchdb-glib 0.7.4, and have a
couple of questions.

1.  Is it necessary/recommended to specialize a generic?
    The generated vapi has lists without specialization, and these work
    fine in the tests.  
    public GLib.SList list_databases (); 
    public GLib.SList<string> list_databases ();

2. What can I do to optimize the generated c code in my tests?  
   The generated code is 4x the size of original test code 
   (test-couchdb-glib.c) as is the executable.

-- 
Regards,
Brian Winfrey




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