title: Using sqlite from vala without dependence on glib
body: <p>I need to use the Sqlite vapi without any depedence on GLib. SQlite is non-gobject library, so it should be possible to do that. </p>
  
  <p>However, when I try to compile the following file with the <code>--profile posix</code>
  option,</p>
  
  <pre><code>using Sqlite;
  
  void main() {
      stdout.printf("Hello, World!");
  }
  </code></pre>
  
  <p>I get am error messages:</p>
  
  <pre><code>sqlite3.vapi:357.56-357.59: error: The symbol `GLib' could not be found
    public int bind_blob (int index, void* value, int n,
  GLib.DestroyNotify destroy_notify);
                                                         ^^^^
  sqlite3.vapi:362.68-362.71: error: The symbol `GLib' could not be found
    public int bind_text (int index, owned string value, int n = -1,
  GLib.DestroyNotify destroy_notify = GLib.g_free);
                                                                     ^^^^
  sqlite3.vapi:411.42-411.45: error: The symbol `GLib' could not be found
    public void result_blob (uint8[] data, GLib.DestroyNotify?
  destroy_notify = GLib.g_free);
                                           ^^^^
  sqlite3.vapi:420.59-420.62: error: The symbol `GLib' could not be found
    public void result_text (string value, int length = -1,
  GLib.DestroyNotify? destroy_notify = GLib.g_free);
                                                            ^^^^
  Compilation failed: 4 error(s), 0 warning(s)
  </code></pre>
  
  <p>It seems that several of the functions defined in the sqlite vapi make references to the <code>GLib.g_free</code> and <code>GLib.DestroyNotify</code> symbols. Are there any posix alternatives to those?</p>