return null;
}
- private ArrayLengthField get_length_field () {
+ unowned ArrayLengthField get_length_field () {
if (length_field == null) {
length_field = new ArrayLengthField (source_reference);
return length_field;
}
- private ArrayResizeMethod get_resize_method () {
+ unowned ArrayResizeMethod get_resize_method () {
if (resize_method == null) {
resize_method = new ArrayResizeMethod (source_reference);
return resize_method;
}
- private ArrayMoveMethod get_move_method () {
+ unowned ArrayMoveMethod get_move_method () {
if (move_method == null) {
move_method = new ArrayMoveMethod (source_reference);
return move_method;
}
- private ArrayCopyMethod get_copy_method () {
+ unowned ArrayCopyMethod get_copy_method () {
if (copy_method == null) {
copy_method = new ArrayCopyMethod (source_reference);
return result;
}
- public Method get_to_string_method () {
+ public unowned Method get_to_string_method () {
if (to_string_method == null) {
var string_type = new ObjectType ((Class) CodeContext.get ().root.scope.lookup ("string"));
string_type.value_owned = false;
return result;
}
- Method get_connect_method () {
+ unowned Method get_connect_method () {
if (connect_method == null) {
var ulong_type = new IntegerType ((Struct) CodeContext.get ().root.scope.lookup ("ulong"));
connect_method = new Method ("connect", ulong_type);
return connect_method;
}
- Method get_connect_after_method () {
+ unowned Method get_connect_after_method () {
if (connect_after_method == null) {
var ulong_type = new IntegerType ((Struct) CodeContext.get ().root.scope.lookup ("ulong"));
connect_after_method = new Method ("connect_after", ulong_type);
return connect_after_method;
}
- Method get_disconnect_method () {
+ unowned Method get_disconnect_method () {
if (disconnect_method == null) {
disconnect_method = new Method ("disconnect", new VoidType ());
disconnect_method.access = SymbolAccessibility.PUBLIC;