undef_ref added
This commit is contained in:
parent
2048757054
commit
4c5033e8d5
|
@ -0,0 +1,4 @@
|
|||
static void main () {
|
||||
stdout.printf ("Hello world!\n");
|
||||
func ();
|
||||
}
|
|
@ -0,0 +1 @@
|
|||
void func (void) G_GNUC_CONST;
|
|
@ -0,0 +1 @@
|
|||
void func ();
|
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
# in one step
|
||||
#valac -C a.vala --vapidir=. --pkg=b -X -fPIC && gcc -fPIC -shared -o libaaa.so a.vala.o -lm
|
||||
|
||||
valac -C a.vala --vapidir=. --pkg=b -X -fPIC
|
||||
gcc `pkg-config --cflags glib-2.0` -fPIC -shared -o libaaa.so a.c -lm `pkg-config --libs glib-2.0`
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
# ???
|
Loading…
Reference in New Issue