Changes are mostly to the dir structures and build system for ScriptFu. Some changes to the outer plugin source to call the library. Why: so that other executables (future gimp-scheme-interpreter, or a future separated script-fu-server) can exist in separate directories, and share the library in memory (when built shared.) Whether the library is built shared and installed on its own (versus static and not installed) is a compile time option (both automake LibTool and meson abstract it away) The default is shared and installed, say as libgimp-scriptfu-3.0.so. Installed alongside other shared libraries (e.g. wherever libgimp is installed) to simplify packaging. A preliminary refactoring which helps enable MR gimp!647
14 lines
723 B
Text
14 lines
723 B
Text
This directory contains a version of TinyScheme which has been modified
|
|
to support UTF-8 coded strings. The strings stored in a data cell are
|
|
expected to be in UTF-8 format. This allows the continued use of gchar
|
|
pointers to pass around the strings. Processing the strings will require
|
|
conversion to unicode at times depending on the specific operation that
|
|
needs to be done on the UTF-8 coded strings.
|
|
|
|
The string length value stored in a data cell is the length in bytes of that
|
|
string including the terminating NUL.
|
|
|
|
Routines that want a string length for a UTF-8 coded string will be passed
|
|
the number of characters and not the number of bytes. If the number of bytes
|
|
is needed, the normal call to strlen() will work.
|
|
|