Browse Source

update multiple inheritance comment

David Rose 20 years ago
parent
commit
b1a9ec1f09
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/doc/sample.dc

+ 4 - 1
direct/src/doc/sample.dc

@@ -58,7 +58,10 @@ struct AvatarObject {
 };
 };
 
 
 
 
-// Single inheritance is supported, but not multiple inheritance.
+// Single inheritance and multiple inheritance are both supported, but
+// to use multiple inheritance you have to (for now) define
+// "dc-multiple-inheritance 1" in your Config.prc file.
+
 dclass DistributedObjectHolder : DistributedObject {
 dclass DistributedObjectHolder : DistributedObject {
   dropObject(AvatarObject object);
   dropObject(AvatarObject object);