MacroPackage: exclToCDocOverviewCGDocRelNotesFAQIndexPermutedIndex
Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version


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.


(def-external-format :jis-base)

;; As part of the char-to-octets and octets-to-char macros, global data
;; may be used which is not needed once the macros are eliminated for the
;; external-format's runtime mode.  Supposing the global data can be
;; eliminated by calling (delete-trie ...), here's how to have that call
;; be made when the external-format is being switched to runtime mode.
(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.

Copyright (c) 1998-2012, Franz Inc. Oakland, CA., USA. All rights reserved.
Documentation for Allegro CL version 9.0. This page was not revised from the 8.2 page.
Created 2012.5.30.

Allegro CL version 9.0
Unrevised from 8.2 to 9.0.
8.2 version