db_load   xtlang


Defined in:  https://github.com/digego/extempore/tree/v0.8.9/examples/external/sqlite.xtm

Implementation

(bind-func db_load
  (lambda (filename)
    (let ((db:sqlite3** (salloc))
          (result (sqlite3_open filename db)))
      (if (<> result SQLITE_OK)
          (begin (println "Error opening DB:" (Str (sqlite3_errstr result))) 1)
          (begin (set! DB (pref db 0)) 1))
      void)))


Back to Index

Similar Entries

  • ai_load_ogl_texture    xtlang
  • ai_load_ogl_texture_from_buffer    xtlang
  • analogue-load-preset    scheme
  • analogue-load-state    scheme
  • assimp_load_model    xtlang
  • assimp_load_model    xtlang
  • assimp_load_model    scheme
  • callback_goodbye_world    xtlang
  • cerberus-load-preset    scheme
  • cerberus-load-state    scheme
  • db0    scheme
  • db1    scheme
  • db2    scheme
  • db3    scheme
  • db4    scheme
  • db5    scheme
  • db6    scheme
  • db7    scheme
  • db8    scheme
  • db_close    xtlang
  • db_cmd    xtlang
  • db_print_column    xtlang
  • dsp_load    xtlang
  • get_download_handler    xtlang
  • get_load_handler    xtlang
  • gl_load_image    xtlang
  • gl_load_image_rect    xtlang
  • gl_load_movie_textures    xtlang
  • gl_load_movie_textures    xtlang
  • gl_load_tex    xtlang
  • gl_load_tex_bgr    xtlang
  • gl_load_tex_ext    xtlang
  • gl_load_tex_ext_bgr    xtlang
  • gl_load_tex_rect    xtlang
  • impc:aot:insert-load-dylib-details    scheme
  • impc:compiler:print-dylib-loading-details-to-log    scheme
  • ipc:load    scheme
  • is_loading    xtlang
  • lilv_load_plugin    xtlang
  • load-sample    scheme
  • load-sampler    scheme
  • load-tex    xtlang
  • load-tex    xtlang
  • load_assim_material_texture    xtlang
  • load_blep_tables_from_blob    unknown
  • load_cube_data    xtlang
  • load_data    xtlang
  • load_vg_fonts    xtlang
  • nvg_load_opensans_fonts    xtlang
  • print-load    scheme
  • reload    xtlang
  • reload_ignore_cache    xtlang
  • sdbm    xtlang
  • stop_load    xtlang
  • sys:load    scheme
  • sys:load-escape    scheme
  • sys:load-preload-check    scheme
  • sys:load-then-quit    scheme
  • xtm_load_vgimage    xtlang
  • xtm_projection_texture_load    xtlang