Update der Doku fuer 3.6.4 + LWO
... aus den Driversourcen 3.6.4 + LWO
Change-Id: I9226bb373436d5b05828f89c7da26df39aa45af7
diff --git a/doc/LPC/pragma b/doc/LPC/pragma
index 21d4881..a1cfa99 100644
--- a/doc/LPC/pragma
+++ b/doc/LPC/pragma
@@ -6,11 +6,19 @@
several compilation options. Multiple options can be selected
in one #pragma directive by separating them with commas.
- no_clone: The blueprint object can't be cloned.
no_inherit: The program can't be inherited.
no_shadow: The program can't be shadowed (similar to declaring
all functions as 'nomask').
+ clone: The blueprint object can be cloned (default, implies
+ no_lightweight).
+ no_clone: The blueprint object can't be cloned.
+
+ lightweight: Lightweight objects may be created from the
+ blueprint (implies no_clone and warn_lightweight).
+ no_lightweight: Lightweight object cannot be created from it
+ (default).
+
init_variables: Clone variables are initialized by __INIT().
share_variables: Clone variables are initialized from the
blueprint.
@@ -35,6 +43,7 @@
- arguments on function calls,
- return values of functions,
- assignment to variables,
+ - declarative type casts,
- restoration of values to variables or struct members.
Don't confuse this with strong/strict_types, they only
check at compile time.
@@ -86,6 +95,17 @@
mudlib code - in general one should fix the warnings,
not turn them off.
+ warn_unused_variables: Warn about variables that are not used.
+ If will warn about variables never written to, variables
+ never read from or variables never used at all.
+ This applies to local variables and private global variables.
+ no_warn_unused_variables: Turn off warn_unused_variables
+ (the default).
+
+ warn_lightweight: Warn about efuns that are not suitable for
+ lightweight objects.
+ no_warn_lightweight: Turn off warn_lightweight.
+
When an object is compiled with type testing (#pragma
strict_types), all types are saved of the arguments for that
function during compilation. If the #pragma save_types is