Commit 85d3dffc authored by Rico Tzschichholz's avatar Rico Tzschichholz

libvaladoc: Avoid superfluous references of Rule

parent 6e1570da
......@@ -64,19 +64,19 @@ public abstract class Valadoc.Rule : Object {
public delegate void Action () throws ParserError;
public Rule set_start (Action action) {
public unowned Rule set_start (Action action) {
//TODO: Ownership Transfer
_start_action = () => { action (); };
return this;
}
public Rule set_reduce (Action action) {
public unowned Rule set_reduce (Action action) {
//TODO: Ownership Transfer
_reduce_action = () => { action (); };
return this;
}
public Rule set_skip (Action action) {
public unowned Rule set_skip (Action action) {
//TODO: Ownership Transfer
_skip_action = () => { action (); };
return this;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment