/* GNU Objective-C Typed Streams interface.
- Copyright (C) 1993, 1995 Free Software Foundation, Inc.
+ Copyright (C) 1993, 1995, 2004 Free Software Foundation, Inc.
This file is part of GCC.
#ifndef __typedstream_INCLUDE_GNU
#define __typedstream_INCLUDE_GNU
-#include "objc/objc.h"
-#include "objc/hash.h"
+#include <objc/objc.h>
+#include <objc/hash.h>
+
+#ifdef __cplusplus
+extern "C" {
+#endif /* __cplusplus */
+
#include <stdio.h>
typedef int (*objc_typed_read_func)(void*, char*, int);
int objc_write_object_reference (TypedStream* stream, id object);
int objc_write_root_object (TypedStream* stream, id object);
-long objc_get_stream_class_version (TypedStream* stream, Class class);
+long objc_get_stream_class_version (TypedStream* stream, Class class_type);
/*
BOOL objc_end_of_typed_stream (TypedStream* stream);
void objc_flush_typed_stream (TypedStream* stream);
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
#endif /* not __typedstream_INCLUDE_GNU */