LispWorks CAPI User Guide > 2 Getting Started

NextPrevUpTopContentsIndex

2.1 Using the CAPI package

All symbols in this manual are exported from either the CAPI or COMMON-LISP packages unless explicitly stated otherwise. To access CAPI symbols, you could qualify them all explicitly in your code, for example capi:output-pane .

However it is more convenient to create a package which has CAPI on its package-use-list:

(defpackage "MY-PACKAGE"
	(:add-use-defaults t)
	(:use "CAPI")
)

This creates a package in which all the CAPI symbols are accessible. To run the examples in this guide, first evaluate

(in-package "MY-PACKAGE")
LispWorks CAPI User Guide (Macintosh version) - 22 Dec 2009

NextPrevUpTopContentsIndex