Skip to content

Commit

Permalink
Add adlx namespace in exposed Enum
Browse files Browse the repository at this point in the history
  • Loading branch information
ericjunwei committed Nov 23, 2024
1 parent e874832 commit 18ca3ec
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
9 changes: 8 additions & 1 deletion SDK/Include/ADLXDefines.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,6 +319,11 @@ typedef enum

#pragma endregion ADLX_RESULT

#if defined (__cplusplus)
namespace adlx
{
#endif

#pragma region ADLX_HG_TYPE
/**
* @enum ADLX_HG_TYPE
Expand Down Expand Up @@ -996,7 +1001,9 @@ typedef enum
#pragma endregion ADLX_APP_GPU_DEPENDENCY

#pragma endregion ADLX data types

#if defined (__cplusplus)
} //namespace adlx
#endif
//-------------------------------------------------------------------------------------------------
//definitions for IADLXInterface
#pragma region ADLX_DECLARE_IID
Expand Down
4 changes: 4 additions & 0 deletions SDK/Include/ADLXStructures.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@
#pragma once
#include "ADLXDefines.h"

#if defined (__cplusplus)
using namespace adlx;
#endif

/** @file */
//-------------------------------------------------------------------------------------------------
#pragma region ADLX_RGB
Expand Down

0 comments on commit 18ca3ec

Please sign in to comment.