This takes a DATA_TYPE, not an RVAL_TYPE. Anyway arg_type may be DATA_TYPE_NONE here, that must be accounted for.