context BUGFIX initialize thread-local ctx in api functions
context BUGFIX initialize thread-local ctx in api functions

PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang,PavolVican/libyang