Use compiler trick to allow operations with all types of arguments. Previous solution was using arg+0 with suppressing compiler warning about pointer arithmetic operations but it was not covering for opaque struct pointers. Signed-off-by: Krzysztof Chruściński <krzysztof.chruscinski@nordicsemi.no> |
||
|---|---|---|
| .. | ||
| internal | ||
| __assert.h | ||
| atomic_arch.h | ||
| atomic_builtin.h | ||
| atomic_c.h | ||
| atomic_types.h | ||
| atomic.h | ||
| barrier_builtin.h | ||
| barrier.h | ||
| base64.h | ||
| bitarray.h | ||
| byteorder.h | ||
| cbprintf_cxx.h | ||
| cbprintf_enums.h | ||
| cbprintf_internal.h | ||
| cbprintf.h | ||
| check.h | ||
| crc.h | ||
| device_mmio.h | ||
| dlist.h | ||
| errno_private.h | ||
| fdtable.h | ||
| hash_function.h | ||
| hash_map_api.h | ||
| hash_map_cxx.h | ||
| hash_map_oa_lp.h | ||
| hash_map_sc.h | ||
| hash_map.h | ||
| heap_listener.h | ||
| iterable_sections.h | ||
| kobject.h | ||
| libc-hooks.h | ||
| linear_range.h | ||
| list_gen.h | ||
| math_extras_impl.h | ||
| math_extras.h | ||
| mem_blocks.h | ||
| mem_manage.h | ||
| mem_stats.h | ||
| mpsc_lockfree.h | ||
| mpsc_packet.h | ||
| mpsc_pbuf.h | ||
| multi_heap.h | ||
| mutex.h | ||
| notify.h | ||
| onoff.h | ||
| p4wq.h | ||
| poweroff.h | ||
| printk-hooks.h | ||
| printk.h | ||
| rb.h | ||
| reboot.h | ||
| ring_buffer.h | ||
| sem.h | ||
| sflist.h | ||
| slist.h | ||
| speculation.h | ||
| spsc_lockfree.h | ||
| spsc_pbuf.h | ||
| sys_heap.h | ||
| sys_io.h | ||
| time_units.h | ||
| timeutil.h | ||
| util_internal_is_eq.h | ||
| util_internal_util_dec.h | ||
| util_internal_util_inc.h | ||
| util_internal_util_x2.h | ||
| util_internal.h | ||
| util_listify.h | ||
| util_loops.h | ||
| util_macro.h | ||
| util.h | ||
| winstream.h | ||