Click here to Skip to main content
15,881,248 members
Articles / Multimedia / OpenGL

GLFW: A (Simple) OpenGL Framework Library

Rate me:
Please Sign up or sign in to vote.
4.89/5 (24 votes)
23 Dec 2015CPOL11 min read 139.7K   4.3K   99  
An easy to use library to quickly setup and run OpenGL applications.
/**
 * @file	GLFW_int.h
 * @author	SiS.
 *
 * @version 1.00.00B.
 *
 * OpenGL (Simple) Framework: Internal stuff header file.
 *
 */

#ifndef __GLFW_INT__
#define __GLFW_INT__

#ifndef __GLFW__
#error "Cannot include glfw_int.h alone!"
#endif


//////////////////////////////////////////////////////////////////////////
//  #Include section.
//////////////////////////////////////////////////////////////////////////

// System include.


//////////////////////////////////////////////////////////////////////////
//  Preprocessor MACROS definition.
//////////////////////////////////////////////////////////////////////////

#ifndef _IS_NULL 
	#define _IS_NULL( ptr )		( (ptr) == NULL )
#endif

#ifndef _NOT_NULL 
	#define _NOT_NULL( ptr )	( (ptr) != NULL )
#endif

//////////////////////////////////////////////////////////////////////////
//  END of Code.
//////////////////////////////////////////////////////////////////////////

#endif // #ifndef __GLFW_INT__

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior) Nextworks S.r.l.
Italy Italy
He's Born in 1976 in Carrara (Italy) and he works as Software developer since 2000.
His other interests and hobbies are Karate, Soccer, VideoGames (RPG, FPS, FlySims) and Mountain Trekking.

Comments and Discussions