allow cwrap calls to not specify argTypes if no args; fixes #2511