mirror of
https://github.com/jenshemprich/MacGLide.git
synced 2025-03-13 05:29:21 +00:00
25 lines
839 B
C
25 lines
839 B
C
|
//**************************************************************
|
||
|
//* MacGLide - Glide to OpenGL Wrapper
|
||
|
//* http://macglide.sourceforge.net/
|
||
|
//*
|
||
|
//* Shared Library entry points
|
||
|
//*
|
||
|
//* MacGLideTexturesPlugin is OpenSource under LGPL license
|
||
|
//* Originally made by Jens-Olaf Hemprich
|
||
|
//**************************************************************
|
||
|
|
||
|
#pragma once
|
||
|
|
||
|
// size of temporary buffers for string processing
|
||
|
const int StringBufferSize = 256;
|
||
|
|
||
|
// library entry points
|
||
|
#pragma export on
|
||
|
extern "C" void setMsgFunction(void(*function)(const char *message, ...));
|
||
|
extern "C" void setErrorFunction(void(*function)(const char *message, ...));
|
||
|
#pragma export off
|
||
|
|
||
|
// Let's have the same interface for logging
|
||
|
void GlideMsg(const char *message, ...);
|
||
|
void GlideError(const char *message, ...);
|