| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 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-2016, Franz Inc. Oakland, CA., USA. All rights reserved.
This page was not revised from the 8.1 page.
Created 2010.1.21.
| Allegro CL version 8.2 Unrevised from 8.1 to 8.2. 8.1 version |