mirror of
https://github.com/cocos/cocos4.git
synced 2026-12-06 19:42:39 +08:00
13 lines
359 B
C++
13 lines
359 B
C++
#include "scripting/js-bindings/auto/jsb_gles2_auto.hpp"
|
|
#include "scripting/js-bindings/manual/jsb_conversions.hpp"
|
|
#include "scripting/js-bindings/manual/jsb_global.h"
|
|
#include "renderer/gfx-gles2/GFXGLES2.h"
|
|
|
|
#ifndef JSB_ALLOC
|
|
#define JSB_ALLOC(kls, ...) new (std::nothrow) kls(__VA_ARGS__)
|
|
#endif
|
|
|
|
#ifndef JSB_FREE
|
|
#define JSB_FREE(ptr) delete ptr
|
|
#endif
|