diff options
author | Simon Glass <sjg@chromium.org> | 2017-03-17 16:14:33 -0600 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-19 07:01:10 +0200 |
commit | 67f49b98671a4b4bd20bc78f3bb049a8e7ffcf22 (patch) | |
tree | f79649cac4155c8f43a18d036dda54745eb65af8 /cpukit/dtc/libfdt/fdt_sw.c | |
parent | libfdt: Change names of sparse helper macros (diff) | |
download | rtems-67f49b98671a4b4bd20bc78f3bb049a8e7ffcf22.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 'cpukit/dtc/libfdt/fdt_sw.c')
0 files changed, 0 insertions, 0 deletions