Native functions and Java structures definitions