Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/to_array b/doc/efun/to_array
index afc91c1..8f30a7f 100644
--- a/doc/efun/to_array
+++ b/doc/efun/to_array
@@ -1,29 +1,37 @@
SYNOPSIS
- mixed * to_array(string arg)
- mixed * to_array(bytes arg)
- mixed * to_array(symbol arg)
- mixed * to_array(quotedarray arr)
- mixed * to_array(mixed *arg)
- mixed * to_array(struct arg)
+ mixed * to_array(string)
+ mixed * to_array(bytes)
+ mixed * to_array(symbol)
+ mixed * to_array(quotedarray)
+ mixed * to_array(mixed *)
+ mixed * to_array(struct)
+ mixed * to_array(lpctype)
(int*)<value>
-BESCHREIBUNG
- Strings und Symbole werden umgewandelt in ein Integer-Array, das aus
- den Zeichen von <arg> besteht, wobei 0 == '\0' als letzes Zeichen
- im Array gespeichert wird.
+DESCRIPTION
+ Strings and symbols are converted to an int array that
+ consists of the args characters. Note that the string "12" will be
+ converted to the array ({ 33, 34 }), and not ({ 33, 34, 0 }) (the
+ LDMud versions prior to 3.3 returned the latter array).
- Bytefolgen werden in ein Array dieser Bytes konvertiert.
+ Byte sequences are converted into an array of these bytes.
- Gequotete Arrays werden "entquotet", und Arrays bleiben, wie sie sind.
+ Quoted arrays are ``dequoted'', and arrays are left as they
+ are.
-FEHLER
- Die Cast-Schreibweise funktioniert nur, wenn der genaue Wert von
- <value> zum Zeitpunkt der Kompilierung bekannt ist. Dies wird
- nicht geaendert werden, da die Funktionsform verwendet werden kann.
+ Structs are converted into a normal array.
-GESCHICHTE
- LDMud 3.3.250 fuegte den Support von structs hinzu.
+ Union lpc types are split into their union member types
+ (in no particular order).
-SIEHE AUCH
- to_int(E), to_string(E)
+BUGS
+ The cast notation only works if the precise type of <value>
+ is known at compile-time. This will not be fixed - use the
+ function form instead.
+
+HISTORY
+ LDMud 3.3.250 added structs to the accepted data types.
+
+SEE ALSO
+ to_int(E), to_string(E), to_struct(E)