summaryrefslogtreecommitdiff
path: root/vapi/curses.vapi
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2009-01-04 17:54:44 +0000
committerJürg Billeter <juergbi@src.gnome.org>2009-01-04 17:54:44 +0000
commitea9ca5af4c0c43d6055836405dda2cf15609ea8f (patch)
treea443b2ce649b7878d79c77cd70fddb0652a8a648 /vapi/curses.vapi
parent29d847997c138396e47aefee4a34c5eb0bba0867 (diff)
downloadvala-ea9ca5af4c0c43d6055836405dda2cf15609ea8f.tar.gz
Array length attribute fixes
2009-01-04 Jürg Billeter <j@bitron.ch> * vapi/curses.vapi: * vapi/enchant.vapi: * vapi/gnome-keyring-1.vapi: * vapi/gobject-2.0.vapi: * vapi/goocanvas.vapi: * vapi/gsl.vapi: * vapi/hildon-1.vapi: * vapi/libftdi.vapi: * vapi/libpanelapplet-2.0.vapi: * vapi/libusb.vapi: * vapi/libxml-2.0.vapi: * vapi/packages/unique-1.0/: * vapi/sdl-gfx.vapi: * vapi/sdl-mixer.vapi: * vapi/sdl-net.vapi: * vapi/sdl-ttf.vapi: * vapi/sqlite3.vapi: * vapi/tiff.vapi: * vapi/unique-1.0.vapi: Array length attribute fixes svn path=/trunk/; revision=2271
Diffstat (limited to 'vapi/curses.vapi')
-rw-r--r--vapi/curses.vapi48
1 files changed, 16 insertions, 32 deletions
diff --git a/vapi/curses.vapi b/vapi/curses.vapi
index d469ad74d..87afe2065 100644
--- a/vapi/curses.vapi
+++ b/vapi/curses.vapi
@@ -79,11 +79,9 @@ namespace Curses {
[CCode (cname = "mvwaddch")]
public int mvaddch(int y, int x, ulong ch);
[CCode (cname = "mvwaddchnstr")]
- [NoArrayLength]
- public int mvaddchnstr(int y, int x, ulong[] chstr, int n);
+ public int mvaddchnstr(int y, int x, [CCode (array_length = false)] ulong[] chstr, int n);
[CCode (cname = "mvwaddchstr")]
- [NoArrayLength]
- public int mvaddchstr(int y, int x, ulong[] chstr);
+ public int mvaddchstr(int y, int x, [CCode (array_length = false)] ulong[] chstr);
[CCode (cname = "mvwaddnstr")]
public int mvaddnstr(int y, int x, string str, int n);
[CCode (cname = "mvwaddstr")]
@@ -104,11 +102,9 @@ namespace Curses {
[CCode (cname = "mvwinch")]
public ulong mvinch(int y, int x);
[CCode (cname = "mvwinchnstr")]
- [NoArrayLength]
- public int mvinchnstr(int y, int x, ulong[] chstr, int n);
+ public int mvinchnstr(int y, int x, [CCode (array_length = false)] ulong[] chstr, int n);
[CCode (cname = "mvwinchstr")]
- [NoArrayLength]
- public int mvinchstr(int y, int x, ulong[] chstr);
+ public int mvinchstr(int y, int x, [CCode (array_length = false)] ulong[] chstr);
[CCode (cname = "mvwinnstr")]
public int mvinnstr(int y, int x, string str, int n);
[CCode (cname = "mvwinsch")]
@@ -145,10 +141,8 @@ namespace Curses {
public int untouchwin();
[CCode (cname = "waddch")]
public int addch(ulong ch);
- [NoArrayLength]
- public int waddchnstr(ulong[] chstr, int n);
- [NoArrayLength]
- public int waddchstr(ulong[] chstr);
+ public int waddchnstr([CCode (array_length = false)] ulong[] chstr, int n);
+ public int waddchstr([CCode (array_length = false)] ulong[] chstr);
public int waddnstr(string str, int n);
[CCode (cname = "waddstr")]
public int addstr(string str);
@@ -203,11 +197,9 @@ namespace Curses {
[CCode (cname = "winch")]
public ulong inch();
[CCode (cname = "winchnstr")]
- [NoArrayLength]
- public int inchnstr(ulong[] chstr, int n);
+ public int inchnstr([CCode (array_length = false)] ulong[] chstr, int n);
[CCode (cname = "winchstr")]
- [NoArrayLength]
- public int inchstr(ulong[] chstr);
+ public int inchstr([CCode (array_length = false)] ulong[] chstr);
[CCode (cname = "winnstr")]
public int innstr(string str, int n);
[CCode (cname = "winsch")]
@@ -278,10 +270,8 @@ namespace Curses {
}
public int addch(ulong ch);
- [NoArrayLength]
- public int addchnstr(ulong[] chstr, int n);
- [NoArrayLength]
- public int addchstr(ulong[] chstr);
+ public int addchnstr([CCode (array_length = false)] ulong[] chstr, int n);
+ public int addchstr([CCode (array_length = false)] ulong[] chstr);
public int addnstr(string str, int n);
public int addstr(string str);
public int attroff(ulong attr);
@@ -329,10 +319,8 @@ namespace Curses {
public bool has_il();
public int hline(ulong ch, int n);
public ulong inch();
- [NoArrayLength]
- public int inchnstr(ulong[] chstr, int n);
- [NoArrayLength]
- public int inchstr(ulong[] chstr);
+ public int inchnstr([CCode (array_length = false)] ulong[] chstr, int n);
+ public int inchstr([CCode (array_length = false)] ulong[] chstr);
public weak Window initscr();
public int init_color(short color, short r, short g, short b);
public int init_pair(short pair, Color f, Color b);
@@ -349,10 +337,8 @@ namespace Curses {
public string ulongname();
public int move(int y, int x);
public int mvaddch(int y, int x, ulong ch);
- [NoArrayLength]
- public int mvaddchnstr(int y, int x, ulong[] chstr, int n);
- [NoArrayLength]
- public int mvaddchstr(int y, int x, ulong[] chstr);
+ public int mvaddchnstr(int y, int x, [CCode (array_length = false)] ulong[] chstr, int n);
+ public int mvaddchstr(int y, int x, [CCode (array_length = false)] ulong[] chstr);
public int mvaddnstr(int y, int x, string str, int n);
public int mvaddstr(int y, int x, string str);
public int mvchgat(int y, int x, int n, ulong attr, short color);
@@ -363,10 +349,8 @@ namespace Curses {
public int mvgetstr(int y, int x, string str);
public int mvhline(int y, int x, ulong ch, int n);
public ulong mvinch(int y, int x);
- [NoArrayLength]
- public int mvinchnstr(int y, int x, ulong[] chstr, int n);
- [NoArrayLength]
- public int mvinchstr(int y, int x, ulong[] chstr);
+ public int mvinchnstr(int y, int x, [CCode (array_length = false)] ulong[] chstr, int n);
+ public int mvinchstr(int y, int x, [CCode (array_length = false)] ulong[] chstr);
public int mvinnstr(int y, int x, string str, int n);
public int mvinsch(int y, int x, ulong ch);
public int mvinsnstr(int y, int x, string str, int n);