diff options
author | Simon Glass <sjg@chromium.org> | 2017-03-17 16:14:33 -0600 |
---|---|---|
committer | David Gibson <david@gibson.dropbear.id.au> | 2017-03-21 16:21:58 +1100 |
commit | 8cb3896358e9f70b6f742772734b038ed0d4ea19 (patch) | |
tree | d4a36dd5dd8eec0bc83d810332fd3fbc63981889 /tests | |
parent | b40aa8359affa52bd79afe468c26683d6bb41c68 (diff) | |
download | dtc-8cb3896358e9f70b6f742772734b038ed0d4ea19.zip dtc-8cb3896358e9f70b6f742772734b038ed0d4ea19.tar.gz dtc-8cb3896358e9f70b6f742772734b038ed0d4ea19.tar.bz2 |
Adjust libfdt.h to work with swig
There are a few places where libfdt.h cannot be used as is with swig:
- macros like fdt_totalsize() have to be defined as C declarations
- fdt_offset_ptr() and fdt_getprop_namelen() need special treatment due to
a TODO in the wrapper for fdt_getprop(). However they are not useful to
Python so can be removed
Add #ifdefs to work around these problem.
Signed-off-by: Simon Glass <sjg@chromium.org>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions