Try a different convention.

Borrowed from Chromium's ppapi/c API.

Signed-off-by: Thiago Farina <tfarina@chromium.org>