if (target_type instanceof org.perl6.nqp.sixmodel.reprs.CStrInstance) {
/* TODO: Handle encodings. */
nqpobj.set_str(tc, o.getString(0));
}
else if (nqpobj instanceof org.perl6.nqp.sixmodel.reprs.CPointerInstance) {
CPointerInstance cpointer = (CPointerInstance) nqpobj;
cpointer.pointer = o;
}
else if (nqpobj instanceof org.perl6.nqp.sixmodel.reprs.CArrayInstance) {
CArrayInstance carray = (CArrayInstance) nqpobj;
carray.storage = o;