Add some notes about further enhancements of the Python pidl backend.
authorJelmer Vernooij <jelmer@samba.org>
Thu, 22 May 2008 13:13:13 +0000 (15:13 +0200)
committerJelmer Vernooij <jelmer@samba.org>
Thu, 22 May 2008 22:35:03 +0000 (00:35 +0200)
(This used to be commit 8e4cd10e3fde9b52552549a9553cdd25ef30d6dd)

source4/pidl/TODO

index f1cca0ab230088e209b510f47e527921b8fd4eca..bc5c49a46fde49ee1a7944c5c85a9e85edab6c05 100644 (file)
@@ -1,6 +1,3 @@
-- EJS output backend shouldn't use the NDR levels stuff but instead 
-  as the "C levels" and NDR levels don't necessarily match.
-
 - true multiple dimension array / strings in arrays support
 
 - compatibility mode for generating MIDL-readable data:
  - remove NDR_AUTO_REF_ALLOC flag
 
 - automatic test generator based on IDL pointer types
+
+- support converting structs to tuples in Python rather than objects
+- convert structs with a single mattering member to that member directly, e.g.:
+  struct bar {
+    int size;
+       [size_is(size)] uint32 *array;
+  };
+
+  should be converted to an array of uint32's
+
+- python: fill in size members automatically in some places if the struct isn't being returned
+  (so we don't have to cope with the array growing)