[Vm-dev] VM Maker: VMMaker.oscog-eem.2787.mcz

commits at source.squeak.org commits at source.squeak.org
Fri Aug 14 20:55:01 UTC 2020


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]!



More information about the Vm-dev mailing list