VM Maker: VMMaker.oscog-eem.2787.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

VM Maker: VMMaker.oscog-eem.2787.mcz

commits-2
 
Eliot Miranda uploaded a new version of VMMaker to project VM Maker:
http://source.squeak.org/VMMaker/VMMaker.oscog-eem.2787.mcz

==================== Summary ====================

Name: VMMaker.oscog-eem.2787
Author: eem
Time: 14 August 2020, 1:54:50.995494 pm
UUID: a81bc75b-4cf1-42bc-969e-85d46c9f2a4c
Ancestors: VMMaker.oscog-eem.2786

Add another convenience to InterpreterPlugin. methodReturnStringOrNil: answers nil for a null string, instead of failing.

=============== Diff against VMMaker.oscog-eem.2786 ===============

Item was added:
+ ----- Method: InterpreterPlugin>>methodReturnStringOrNil: (in category 'API access') -----
+ methodReturnStringOrNil: cString
+ "methodReturnString: fails for a nil value; this convenience answers nil for a nil value."
+ <var: 'cString' type: #'char *'>
+ <inline: #always>
+ cString
+ ifNil: [interpreterProxy methodReturnValue: interpreterProxy nilObject]
+ ifNotNil: [interpreterProxy methodReturnString: cString]!