repo.or.cz
/
vala-gnome.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
codegen: Fix floating reference regression with Variants
[vala-gnome.git]
/
tests
/
delegates
/
fields.vala
blob
ff6828905ed232c20580771b41805a2b44d8d744
1
delegate
void
FooFunc
();
2
3
[
CCode
(
has_target
=
false
)]
4
delegate
void
FooFuncTargetless
();
5
6
FooFunc foo
;
7
unowned FooFunc foo_unowned
;
8
FooFuncTargetless foo_targetless
;
9
10
void
func
() {
11
}
12
13
void
main
() {
14
foo
=
func
;
15
foo_unowned
=
func
;
16
foo_targetless
=
func
;
17
}