FBX C++ API Reference
fbxsdk_def.h File Reference
#include <stdlib.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <wchar.h>
#include <locale.h>
#include <float.h>
#include <math.h>
#include <time.h>
#include <fbxsdk/fbxsdk_version.h>
#include <fbxsdk/core/arch/fbxarch.h>
#include <fbxsdk/core/arch/fbxtypes.h>
#include <fbxsdk/core/arch/fbxdebug.h>
#include <fbxsdk/core/arch/fbxalloc.h>
#include <fbxsdk/core/arch/fbxnew.h>
#include <fbxsdk/core/arch/fbxstdcompliant.h>

File Description

FBX SDK environment definition.

This file is the principal FBX SDK environment definition. It is used at the top of every header and source file so that every unit is using the same definitions.

Definition in file fbxsdk_def.h.

Macros

#define FBX_SAFE_DELETE(p)   {FbxDelete(p);(p)=NULL;}
 
#define FBX_SAFE_DELETE_ARRAY(a)   {FbxDeleteArray(a);(a)=NULL;}
 
#define FBX_SAFE_DESTROY(p)   if(p){(p)->Destroy();(p)=NULL;}
 
#define FBX_SAFE_FREE(p)   if(p){FbxFree(p);(p)=NULL;}
 

Macro Definition Documentation

◆ FBX_SAFE_DELETE

#define FBX_SAFE_DELETE (   p)    {FbxDelete(p);(p)=NULL;}

Definition at line 50 of file fbxsdk_def.h.

◆ FBX_SAFE_DELETE_ARRAY

#define FBX_SAFE_DELETE_ARRAY (   a)    {FbxDeleteArray(a);(a)=NULL;}

Definition at line 51 of file fbxsdk_def.h.

◆ FBX_SAFE_DESTROY

#define FBX_SAFE_DESTROY (   p)    if(p){(p)->Destroy();(p)=NULL;}

Definition at line 52 of file fbxsdk_def.h.

◆ FBX_SAFE_FREE

#define FBX_SAFE_FREE (   p)    if(p){FbxFree(p);(p)=NULL;}

Definition at line 53 of file fbxsdk_def.h.

Go to the source code of this file.