add missing print api to stub version of struct code
Merge pull request #1772 from braddr/fix-stub

add missing print api to stub version of struct code