fix cplusplus extern C block

git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@94 53a565d1-3bb7-0310-b661-cf11e63c67ab
This commit is contained in:
ddennedy 2002-11-18 15:30:52 +00:00
parent b9de121a85
commit 45112de225
1 changed files with 4 additions and 4 deletions

View File

@ -68,6 +68,10 @@ enum raw1394_iso_disposition {
RAW1394_ISO_ERROR = 2,
};
#ifdef __cplusplus
extern "C" {
#endif
typedef int (*raw1394_iso_xmit_handler_t)(raw1394handle_t,
unsigned char *data,
unsigned int *len,
@ -107,10 +111,6 @@ int raw1394_iso_recv_start(raw1394handle_t handle, int start_on_cycle);
void raw1394_iso_stop(raw1394handle_t handle);
void raw1394_iso_shutdown(raw1394handle_t handle);
#ifdef __cplusplus
extern "C" {
#endif
typedef int raw1394_errcode_t;
#define raw1394_make_errcode(ack, rcode) (((ack) << 16) | rcode)
#define raw1394_internal_err(errcode) ((errcode) < 0)