Yes it is the right thing.
Types in BM are always references (typesafe pointers if you want to call them like this) to objects and thus this stuff works.
There is no way to send an object "by value", only numerics are sent like this normally.
Types in BM are always references (typesafe pointers if you want to call them like this) to objects and thus this stuff works.
There is no way to send an object "by value", only numerics are sent like this normally.