libnfc/include/nfc
Alex Lian c72846e3c6 Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present
This becomes more consistent with all other pass by pointer of most structures.
Additionally, this should lessen stack memory usage, as building strings with str_nfc_target would push the target (283 bytes) plus then a copy of the info objects (up to 275) onto the stack as it dives into the sprintf functions.

Lastly, this makes my attempt at a .NET wrapper easier, as I can make passing by pointer work, but passing by value seems to bomb on the interop right now.
2013-03-07 09:16:33 +01:00
..
CMakeLists.txt Rearrange source code. 2010-04-07 14:37:19 +00:00
Makefile.am directory include/nfc does not have iso7816.h file. 2011-09-12 19:50:21 +00:00
nfc-emulation.h Add timeout parameter to nfc_emulate_target() function. 2013-01-30 00:10:24 +01:00
nfc-types.h 'make style' and align some #preprocessor directives 2013-02-19 00:43:20 +01:00
nfc.h Convert by value passing of nfc_target to pointer for str_nfc_target and nfc_initiator_target_is_present 2013-03-07 09:16:33 +01:00