home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_09_11
/
9n11115a
< prev
next >
Wrap
Text File
|
1991-10-09
|
466b
|
30 lines
struct _an_important_object
{
int one_member;
char another_member;
....
};
typedef struct _an_important_object *AN_IMPORTANT_OBJECT;
/* Function prototypes */
AN_IMPORTANT_OBJECT their_function(void);
void another_function(AN_IMPORTANT_OBJECT);
User file:
#include "important.h"
my_func()
{
AN_IMPORTANT_OBJECT my_object;
my_object = their_function();
...
another_function(my_object);
...
}