| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 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.
Examples:
(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-2019, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 9.0 page.
Created 2015.5.21.
| Allegro CL version 10.0 Unrevised from 9.0 to 10.0. 9.0 version | ||||||||||