erikdoe/ocmock — pull request #15 by GlennAustinRh (2012-06-05 16:49:58+00:00)
Title: Add support for byRef C types

The default setTo: always overwrites the pointer value for the byRef argument. This change allows you to specify an NSValue to return, and will overwrite only the bytes for a value of that size. This change will not do any typecasting, it assumes that you create an NSValue of the proper type.