projects
/
rodin
/
chimara.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
* Added timer support
[rodin/chimara.git]
/
src
/
stream.h
diff --git
a/src/stream.h
b/src/stream.h
index 04134f5807f307b592adc5779eaca1208743bc00..578b1403ba8e3a68edd2dfb3ddec7c9b23ce32a7 100644
(file)
--- a/
src/stream.h
+++ b/
src/stream.h
@@
-12,9
+12,16
@@
enum StreamType
STREAM_TYPE_FILE
};
STREAM_TYPE_FILE
};
+/**
+ * glk_stream_struct:
+ *
+ * This is an opaque structure (see <link linkend="chimara-Opaque-Structures">
+ * Opaque Structures</link> and should not be accessed directly.
+ */
struct glk_stream_struct
{
struct glk_stream_struct
{
- glui32 rock;
+ /*< private >*/
+ glui32 magic, rock;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
/* Pointer to the list node in the global stream list that contains this
stream */
GList* stream_list;
@@
-38,6
+45,6
@@
struct glk_stream_struct
gchar *filename; /* Displayable filename in UTF-8 for error handling */
};
gchar *filename; /* Displayable filename in UTF-8 for error handling */
};
-strid_t window_stream_new(winid_t window);
-void stream_close_common(strid_t str, stream_result_t *result);
+
G_GNUC_INTERNAL
strid_t window_stream_new(winid_t window);
+
G_GNUC_INTERNAL
void stream_close_common(strid_t str, stream_result_t *result);
#endif
#endif