summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-05-22 15:13:13 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-05-23 00:35:03 +0200
commit8ef3218c35f05e595d4fb49a79ebf9270cfbfd3b (patch)
tree25303770e0aeb3498c13a8f19a75d7e6ad238652
parentec7a6ee8ab25f4550a68b286d9eba32b955a73a1 (diff)
downloadsamba-8ef3218c35f05e595d4fb49a79ebf9270cfbfd3b.tar.gz
samba-8ef3218c35f05e595d4fb49a79ebf9270cfbfd3b.tar.bz2
samba-8ef3218c35f05e595d4fb49a79ebf9270cfbfd3b.zip
Add some notes about further enhancements of the Python pidl backend.
(This used to be commit 8e4cd10e3fde9b52552549a9553cdd25ef30d6dd)
-rw-r--r--source4/pidl/TODO15
1 files changed, 12 insertions, 3 deletions
diff --git a/source4/pidl/TODO b/source4/pidl/TODO
index f1cca0ab23..bc5c49a46f 100644
--- a/source4/pidl/TODO
+++ b/source4/pidl/TODO
@@ -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:
@@ -31,3 +28,15 @@
- 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)