summaryrefslogtreecommitdiff
path: root/Runtime/Scripting/WinRTHelper.h
blob: 2fef260b5a48cdca6661fa83d528d0639b639b61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef WINRTHELPER_H
#define WINRTHELPER_H

#if UNITY_WINRT

#	if UNITY_METRO_VS2012
#		if defined(__arm__)
#			include "build/temp/MetroSupport/metroARM/AutoGeneratedFuncDefs.h"
#		else
#			include "build/temp/MetroSupport/metro32/AutoGeneratedFuncDefs.h"
#		endif
#	elif UNITY_METRO_VS2013
#		if defined(__arm__)
#			include "build/temp/MetroSupport/metroBlueARM/AutoGeneratedFuncDefs.h"
#		else
#			include "build/temp/MetroSupport/metroBlue32/AutoGeneratedFuncDefs.h"
#		endif
#	elif UNITY_WP8
#	include "build/temp/WP8Support/AutoGeneratedFuncDefs.h"
#	endif
#endif


inline long long* GetWinRTFuncDefsPointers()
{
	return (long long*)UnityEngineDelegates::FunctionDefsDictionary::GetPointers();
}

#endif