chipperMDW
Programmer
Is the following guaranteed to be doable in just plain, pre-C99 ANSI C? (Without C++, and without compiler-specific tricks).
Code:
/* hidden.h */
#ifndef GLAH_H
#define GLAH_H
struct hidden;
typedef struct hidden hidden_t;
void foo_hidden( hidden_t*, int );
#endif
/* hidden.c */
typedef struct hidden
{
int x;
} hidden_t;
void foo_hidden( hidden_t* h, int y )
{
h->x = y;
}