diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-12 16:08:19 +0100 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-03-12 16:08:19 +0100 |
commit | 878118777153b024303a59c3c1144ace3a49c0f6 (patch) | |
tree | c376f8b373e290f689d4bb9755ffc189524478b5 /doc/de | |
parent | 197a7a01e458255a578c99c7f477dd0bec7e3a47 (diff) | |
download | weechat-878118777153b024303a59c3c1144ace3a49c0f6.zip |
doc/scripting: translate note about Tcl constant $::weechat::WEECHAT_NULL
Diffstat (limited to 'doc/de')
-rw-r--r-- | doc/de/weechat_scripting.de.adoc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/de/weechat_scripting.de.adoc b/doc/de/weechat_scripting.de.adoc index 15b4dfc66..d99a4f033 100644 --- a/doc/de/weechat_scripting.de.adoc +++ b/doc/de/weechat_scripting.de.adoc @@ -205,6 +205,13 @@ Funktionen werden aufgerufen mittels `+weechat.xxx(arg1, arg2, ...)+`. Funktionen werden aufgerufen mittels `+weechat::xxx arg1 arg2 ...+`. +// TRANSLATION MISSING +Since Tcl only has string types, there's no null type to pass as an argument +when a function accepts null values. To overcome this you can use the constant +`$::weechat::WEECHAT_NULL` which acts as a null value. This constant is defined +as `\uFFFF\uFFFF\uFFFFWEECHAT_NULL\uFFFF\uFFFF\uFFFF`, so it's very unlikely to +appear intentionally. + [[language_guile]] ==== Guile (Scheme) |