Remove bundle_open.h file
This commit is contained in:
@@ -1,8 +0,0 @@
|
|||||||
#ifndef BUNDLE_OPEN_H
|
|
||||||
#define BUNDLE_OPEN_H
|
|
||||||
|
|
||||||
#include "lua.h"
|
|
||||||
|
|
||||||
void set_macos_bundle_resources(lua_State *L);
|
|
||||||
|
|
||||||
#endif
|
|
||||||
@@ -1,7 +1,5 @@
|
|||||||
#import <Foundation/Foundation.h>
|
#import <Foundation/Foundation.h>
|
||||||
|
|
||||||
#include "bundle_open.h"
|
|
||||||
|
|
||||||
void set_macos_bundle_resources(lua_State *L)
|
void set_macos_bundle_resources(lua_State *L)
|
||||||
{ @autoreleasepool
|
{ @autoreleasepool
|
||||||
{
|
{
|
||||||
|
|||||||
+4
-1
@@ -13,7 +13,6 @@
|
|||||||
#include <X11/Xresource.h>
|
#include <X11/Xresource.h>
|
||||||
#elif __APPLE__
|
#elif __APPLE__
|
||||||
#include <mach-o/dyld.h>
|
#include <mach-o/dyld.h>
|
||||||
#include "bundle_open.h"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
@@ -96,6 +95,10 @@ static void init_window_icon(void) {
|
|||||||
#define LITE_NONPATHSEP_PATTERN "[^/]+"
|
#define LITE_NONPATHSEP_PATTERN "[^/]+"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifdef __APPLE__
|
||||||
|
void set_macos_bundle_resources(lua_State *L);
|
||||||
|
#endif
|
||||||
|
|
||||||
int main(int argc, char **argv) {
|
int main(int argc, char **argv) {
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
HINSTANCE lib = LoadLibrary("user32.dll");
|
HINSTANCE lib = LoadLibrary("user32.dll");
|
||||||
|
|||||||
Reference in New Issue
Block a user