// we already use a reference for arguments of ref, out, and nullable parameters
if (!(unary != null && (unary.operator == UnaryOperator.OUT || unary.operator == UnaryOperator.REF)) && !type.nullable) {
var cunary = cexpr as CCodeUnaryExpression;
- if (cunary != null && cunary.operator == CCodeUnaryOperator.POINTER_INDIRECTION) {
- // *expr => expr
- return cunary.inner;
- } else if (cexpr is CCodeIdentifier || cexpr is CCodeMemberAccess) {
+ if (cexpr is CCodeIdentifier || cexpr is CCodeMemberAccess) {
return new CCodeUnaryExpression (CCodeUnaryOperator.ADDRESS_OF, cexpr);
} else {
// if cexpr is e.g. a function call, we can't take the address of the expression
structs/bug651441.vala \
structs/bug654646.vala \
structs/bug654753.vala \
+ structs/bug656693.vala \
delegates/delegates.vala \
delegates/bug539166.vala \
delegates/bug595610.vala \