#ifndef GLI_MATSTACK_H
#define GLI_MATSTACK_H
 
 
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
 
/* For DLL using these function :*/
#include "cpa_expt.h" 
 
#include "POS.h"
 
EXTERN_GLI POS_tdstCompletePosition *g_p_stCurrentMatrix ;
 
#if !defined (U64)	/* Oliv' - 26/06/1998*/
 
#define GLI_C_lMaxMatrixInStack 100
#define GLI_C_lStackFull 200
#define GLI_C_lStackEmpty 201
 
EXTERN_GLI POS_tdstCompletePosition g_aDEF_stMatrixStack [ GLI_C_lMaxMatrixInStack ] ;
 
EXTERN_GLI long g_lNbMatrixInStack ;
 
extern CPA_EXPORT void 
GLI_xInitMatrixStack ( void ) ; /*marc*/
 
extern CPA_EXPORT void 
GLI_xPushMatrix ( POS_tdstCompletePosition *p_stMatrix ) ;
 
extern CPA_EXPORT void 
GLI_xPrePushMatrix ( POS_tdstCompletePosition *p_stMatrix ) ;/*NZO*/
 
extern CPA_EXPORT void 
GLI_xPopMatrix ( void ) ;
 
extern CPA_EXPORT void 
GLI_xLoadMatrix ( POS_tdstCompletePosition *p_stMatrix ) ;
 
extern CPA_EXPORT void 
GLI_xResetMatrixStack ( void ) ;
 
extern CPA_EXPORT void 
GLI_xLoadAndResetMatrix ( POS_tdstCompletePosition *p_stMatrix ) ;
 
#endif /* U64 */	/* Oliv' - 26/06/1998*/
 
#ifdef __cplusplus
};
#endif /* __cplusplus */
 
#endif /* GLI_MATSTACK_H*/
 
