Search
lxdream.org :: lxdream/src/maple/maple.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/maple/maple.h
changeset 480:d28c2992f5ee
prev460:a0c865b74c63
next502:c4ecae2b1b5e
author nkeynes
date Wed Oct 31 11:53:35 2007 +0000 (14 years ago)
permissions -rw-r--r--
last change Fix miscellaneous warnings
file annotate diff log raw
1.1 --- a/src/maple/maple.h Tue Oct 23 10:47:17 2007 +0000
1.2 +++ b/src/maple/maple.h Wed Oct 31 11:53:35 2007 +0000
1.3 @@ -1,5 +1,5 @@
1.4 /**
1.5 - * $Id: maple.h,v 1.8 2007-10-23 10:47:17 nkeynes Exp $
1.6 + * $Id: maple.h,v 1.9 2007-10-31 11:53:35 nkeynes Exp $
1.7 *
1.8 * Maple bus definitions
1.9 *
1.10 @@ -55,7 +55,7 @@
1.11 #define MAPLE_DEVICE_TAG 0x4D41504C
1.12 #define MAPLE_DEVICE(x) ((maple_device_t)x)
1.13
1.14 -typedef struct maple_device_class *maple_device_class_t;
1.15 +typedef const struct maple_device_class *maple_device_class_t;
1.16 typedef struct maple_device *maple_device_t;
1.17
1.18 struct maple_device_class {
1.19 @@ -92,7 +92,7 @@
1.20
1.21 maple_device_t maple_new_device( const gchar *name );
1.22 maple_device_t maple_get_device( unsigned int port, unsigned int periph );
1.23 -const maple_device_class_t maple_get_device_class( const gchar *name );
1.24 +const struct maple_device_class *maple_get_device_class( const gchar *name );
1.25 const struct maple_device_class **maple_get_device_classes();
1.26 lxdream_config_entry_t maple_get_device_config( maple_device_t dev );
1.27
.