def-ef-switch-to-runtime

Macro

Package: excl

Arguments: name function

name should be a symbol naming an external format or external-format object (as returned by def-external-format). function should be a function object (not a symbol).

Associates a function object with an external-format. The function object is funcalled when switch-ef-to-runtime is called for the external-format named by name.

Examples:

;; The following causes the two following delete-trie functions to be
;; called when (excl:switch-ef-to-runtime :jis-base) is executed.
;;
(def-ef-switch-to-runtime :jis-base
  #'(lambda ()
      (delete-trie :unicode-to-jis)
      (delete-trie :jis-to-unicode)))

See iacl.htm for more information on international character support in Allegro CL.

The documentation is described in introduction.htm and the index is in index.htm.

Copyright (c) 1998-2000, Franz Inc. Berkeley, CA., USA. All rights reserved.

Created 2000.10.5.