]> granicus.if.org Git - graphviz/commitdiff
lua binding now works with a simple "require('gv')"
authorellson <devnull@localhost>
Thu, 24 Apr 2008 01:59:53 +0000 (01:59 +0000)
committerellson <devnull@localhost>
Thu, 24 Apr 2008 01:59:53 +0000 (01:59 +0000)
tclpkg/gv/gv_doc_langs.tcl

index 97e796a2ccbc316e28cd04eba3bdf06a0515aec6..f753439f88d05b0c09acbccf68e60827416b0828 100644 (file)
@@ -153,8 +153,7 @@ array set LANGS {
                }
                SYNOPSIS {
                        {#!/usr/bin/lua}
-                       {lib=loadlib('@LIB_DIR@/graphviz/lua/libgv_lua.so','Gv_Init')}
-                       {assert(lib)()}
+                       {require('gv')
                }
                USAGE {
                }