|
@@ -28,8 +28,10 @@ struct edit_box {
|
28
|
28
|
|
29
|
29
|
extern void init_editbox ( struct edit_box *box, char *buf, size_t len,
|
30
|
30
|
WINDOW *win, unsigned int row, unsigned int col,
|
31
|
|
- unsigned int width );
|
32
|
|
-extern void draw_editbox ( struct edit_box *box );
|
|
31
|
+ unsigned int width )
|
|
32
|
+ __attribute__ (( nonnull (1, 2) ));
|
|
33
|
+extern void draw_editbox ( struct edit_box *box ) __nonnull;
|
|
34
|
+static inline int __pure edit_editbox ( struct edit_box *box, int key ) __nonnull;
|
33
|
35
|
|
34
|
36
|
/**
|
35
|
37
|
* Edit text box widget
|