Wrote better checks for illegal actions.
[rodin/chimara.git] / src / stream.h
index 04134f5807f307b592adc5779eaca1208743bc00..80df9c93e8b6ebfeb7bf3b18ae8c5b639bd0cf01 100644 (file)
@@ -12,9 +12,16 @@ enum StreamType
        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
 {
-       glui32 rock;
+       /*< private >*/
+       glui32 magic, rock;
        /* Pointer to the list node in the global stream list that contains this
        stream */
        GList* stream_list;