misc main-related fixes

svn: r8768
This commit is contained in:
Eli Barzilay 2008-02-22 22:37:37 +00:00
parent cc2e1464e8
commit 4115bb68a0
4 changed files with 9 additions and 7 deletions

View File

@ -214,9 +214,11 @@ gl-vector-norm: gl-vector -> real-number
_sgl.ss_
Use the sgl.ss module by adding (require sgl) to your program. To prefix the
function names with "gl-" use the form (require (prefix gl- sgl)) instead.
The sgl.ss module provides a more Scheme-like interface to the GL functions in
Use the sgl.ss module by adding (require sgl/sgl) to your program. To get it
with all function names prefixed with "gl-" use (require sgl) (which is
actually sgl/main, reproviding everything from sgl.ss with the prefix). Or you
can also use (require (prefix <some-prefix> sgl/sgl)) directly instead. The
sgl.ss module provides a more Scheme-like interface to the GL functions in
gl.ss.
Functions in sgl.ss take symbols instead of integers for GLenum arguments.

View File

@ -1,3 +1,3 @@
#lang scheme/base
(require "sgl.ss")
(require (prefix-in gl- "sgl.ss"))
(provide (all-from-out "sgl.ss"))

View File

@ -1,4 +1,4 @@
#lang setup/infotab
;; no .zo compilation necessary, since all the real code is in C++
(define compile-omit-files '("info.ss" "srpersist.ss"))
(define compile-omit-files '("info.ss" "srpersist.ss" "main.ss"))

View File

@ -1,4 +1,4 @@
#lang scheme/base
(require "calltrace.ss")
(provide (all-from-out "calltrace.ss"))
(require "texpict.ss")
(provide (all-from-out "texpict.ss"))