This is a c program demonstrating some basic usage of the libxml2 library. Below is quoted from the main function:
LIBXML_TEST_VERSION example1Func(argv[1]);
What does this statement stand for?
I can only tell that LIBXML_TEST_VERSION is obviously a constant, and after that is a function call, that function returns nothing (void). But I’ve no idea what it means the statement in whole.
LIBXML_TEST_VERSIONis not a constant – it’s a macro – see the documentation here:It’s also nothing to do with the call to
example1func()– the code should look like this (comments are mine):