diff options
author | Frediano Ziglio <fziglio@redhat.com> | 2019-02-18 03:22:15 +0000 |
---|---|---|
committer | Frediano Ziglio <fziglio@redhat.com> | 2019-02-20 17:39:27 +0000 |
commit | 7f6c55790bc9e32e4051c9a2d981ebee9927203c (patch) | |
tree | 48233fe386ddea88fd5af4049b23ca1aa33f0296 /python_modules | |
parent | 02530a80dfa45c936215c47b8e3aa56720eb46b8 (diff) |
codegen: Document ptr_array attribute
Signed-off-by: Frediano Ziglio <fziglio@redhat.com>
Acked-by: Christophe Fergeau <cfergeau@redhat.com>
Diffstat (limited to 'python_modules')
-rw-r--r-- | python_modules/ptypes.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/python_modules/ptypes.py b/python_modules/ptypes.py index c548a28..3875970 100644 --- a/python_modules/ptypes.py +++ b/python_modules/ptypes.py @@ -55,6 +55,9 @@ valid_attributes=set([ 'nonnull', # this flag member contains only a single flag 'unique_flag', + # represent array as an array of pointers (in the C structure) + # for instance a "Type name[size] @ptr_array" in the protocol + # will be stored in a "Type *name[0]" field in the C structure 'ptr_array', 'outvar', # C structure has an anonymous member (used in switch) |