Fixes for vdynamic return types
This commit is contained in:
@@ -9,36 +9,22 @@
|
||||
namespace lime {
|
||||
|
||||
|
||||
struct HL_DisplayMode {
|
||||
|
||||
hl_type* t;
|
||||
int height;
|
||||
PixelFormat pixelFormat;
|
||||
int refreshRate;
|
||||
int width;
|
||||
|
||||
};
|
||||
|
||||
|
||||
class DisplayMode {
|
||||
|
||||
public:
|
||||
|
||||
DisplayMode ();
|
||||
DisplayMode (value DisplayMode);
|
||||
DisplayMode (HL_DisplayMode* DisplayMode);
|
||||
DisplayMode (int width, int height, PixelFormat pixelFormat, int refreshRate);
|
||||
|
||||
void* Value ();
|
||||
|
||||
hl_type* t;
|
||||
int height;
|
||||
PixelFormat pixelFormat;
|
||||
int refreshRate;
|
||||
int width;
|
||||
|
||||
private:
|
||||
DisplayMode ();
|
||||
DisplayMode (value DisplayMode);
|
||||
DisplayMode (int width, int height, PixelFormat pixelFormat, int refreshRate);
|
||||
|
||||
HL_DisplayMode* _mode;
|
||||
void CopyFrom (DisplayMode* other);
|
||||
void* Value ();
|
||||
|
||||
};
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@ namespace lime {
|
||||
static std::wstring* GetDeviceModel ();
|
||||
static std::wstring* GetDeviceVendor ();
|
||||
static std::wstring* GetDirectory (SystemDirectory type, const char* company, const char* title);
|
||||
static value GetDisplay (int id);
|
||||
static void* GetDisplay (bool useCFFIValue, int id);
|
||||
#ifdef IPHONE
|
||||
static std::wstring* GetIOSDirectory (SystemDirectory type);
|
||||
static bool GetIOSTablet ();
|
||||
|
||||
Reference in New Issue
Block a user