Last change
on this file since 43272 was 43272, checked in by vboxsync, 12 years ago |
Additions/x11: more original X server headers.
|
-
Property svn:eol-style
set to
native
|
File size:
787 bytes
|
Line | |
---|
1 | #ifndef __I2C_DEF_H__
|
---|
2 | #define __I2C_DEF_H__
|
---|
3 |
|
---|
4 | /* the following are a workaround for possible loader bug..
|
---|
5 | WATCH function types ! */
|
---|
6 | #define CreateI2CBusRec ((pointer (*)(void))LoaderSymbol("xf86CreateI2CBusRec"))
|
---|
7 | #define DestroyI2CBusRec ((pointer (*)(I2CBusPtr, Bool, Bool))LoaderSymbol("xf86DestroyI2CBusRec"))
|
---|
8 | #define I2CBusInit ((Bool (*)(pointer))LoaderSymbol("xf86I2CBusInit"))
|
---|
9 | #define I2C_WriteRead ((Bool (*)(I2CDevPtr, I2CByte *, int, I2CByte *, int))LoaderSymbol("xf86I2CWriteRead"))
|
---|
10 | #define CreateI2CDevRec ((pointer (*)(void))LoaderSymbol("xf86CreateI2CDevRec"))
|
---|
11 | #define I2CDevInit ((Bool (*)(I2CDevPtr))LoaderSymbol("xf86I2CDevInit"))
|
---|
12 | #define I2CProbeAddress ((Bool (*)(I2CBusPtr,I2CSlaveAddr))LoaderSymbol("xf86I2CProbeAddress"))
|
---|
13 |
|
---|
14 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.