Remove bundle_open.h file

This commit is contained in:
Francesco Abbate 2021-04-19 09:52:00 +02:00
parent a7d6a48321
commit 2f8c70ac51
3 changed files with 4 additions and 11 deletions

View File

@ -1,8 +0,0 @@
#ifndef BUNDLE_OPEN_H
#define BUNDLE_OPEN_H
#include "lua.h"
void set_macos_bundle_resources(lua_State *L);
#endif

View File

@ -1,7 +1,5 @@
#import <Foundation/Foundation.h>
#include "bundle_open.h"
void set_macos_bundle_resources(lua_State *L)
{ @autoreleasepool
{

View File

@ -13,7 +13,6 @@
#include <X11/Xresource.h>
#elif __APPLE__
#include <mach-o/dyld.h>
#include "bundle_open.h"
#endif
@ -96,6 +95,10 @@ static void init_window_icon(void) {
#define LITE_NONPATHSEP_PATTERN "[^/]+"
#endif
#ifdef __APPLE__
void set_macos_bundle_resources(lua_State *L);
#endif
int main(int argc, char **argv) {
#ifdef _WIN32
HINSTANCE lib = LoadLibrary("user32.dll");