mirror of
https://github.com/jpd002/Play-.git
synced 2025-04-28 13:47:57 +03:00
8 lines
153 B
Text
8 lines
153 B
Text
#include "LayerFromView.h"
|
|
#include <AppKit/AppKit.h>
|
|
|
|
void* GetLayerFromView(void* viewPtr)
|
|
{
|
|
NSView* view = (NSView*)viewPtr;
|
|
return [view layer];
|
|
}
|