-
-
Notifications
You must be signed in to change notification settings - Fork 267
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BOX32][WRAPPER] Added 32bits empty wrapped libXxf86vm
- Loading branch information
Showing
8 changed files
with
96 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/****************************************************************** | ||
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * | ||
******************************************************************/ | ||
#ifndef __wrappedlibxxf86vmDEFS32_H_ | ||
#define __wrappedlibxxf86vmDEFS32_H_ | ||
|
||
|
||
#endif // __wrappedlibxxf86vmDEFS32_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
/****************************************************************** | ||
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * | ||
******************************************************************/ | ||
#ifndef __wrappedlibxxf86vmTYPES32_H_ | ||
#define __wrappedlibxxf86vmTYPES32_H_ | ||
|
||
#ifndef LIBNAME | ||
#error You should only #include this file inside a wrapped*.c file | ||
#endif | ||
#ifndef ADDED_FUNCTIONS | ||
#define ADDED_FUNCTIONS() | ||
#endif | ||
|
||
|
||
#define SUPER() ADDED_FUNCTIONS() | ||
|
||
#endif // __wrappedlibxxf86vmTYPES32_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
/****************************************************************** | ||
* File automatically generated by rebuild_wrappers_32.py (v0.0.1.1) * | ||
******************************************************************/ | ||
#ifndef __wrappedlibxxf86vmUNDEFS32_H_ | ||
#define __wrappedlibxxf86vmUNDEFS32_H_ | ||
|
||
|
||
#endif // __wrappedlibxxf86vmUNDEFS32_H_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
#define _GNU_SOURCE /* See feature_test_macros(7) */ | ||
#include <dlfcn.h> | ||
|
||
#include "wrappedlibs.h" | ||
|
||
#include "debug.h" | ||
#include "wrapper32.h" | ||
#include "bridge.h" | ||
#include "librarian/library_private.h" | ||
#include "x64emu.h" | ||
#include "emu/x64emu_private.h" | ||
#include "callback.h" | ||
#include "librarian.h" | ||
#include "box32context.h" | ||
#include "emu/x64emu_private.h" | ||
|
||
#ifdef ANDROID | ||
static const char* libxxf86vmName = "libXxf86vm.so"; | ||
#else | ||
static const char* libxxf86vmName = "libXxf86vm.so.1"; | ||
#endif | ||
|
||
#define LIBNAME libxxf86vm | ||
#if 0 | ||
#ifdef ANDROID | ||
#define NEEDED_LIBS "libX11.so", "libXext.so" | ||
#else | ||
#define NEEDED_LIBS "libX11.so.6", "libXext.so.6" | ||
#endif | ||
#endif | ||
#include "wrappedlib_init32.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#if !(defined(GO) && defined(GOM) && defined(GO2) && defined(DATA)) | ||
#error Meh... | ||
#endif | ||
|
||
//GO(XF86VidModeGetViewPort, iFpipp) | ||
//GO(XF86VidModeValidateModeLine, iFpip) | ||
//GO(XF86VidModeGetGamma, iFpip) | ||
//GO(XF86VidModeSetGamma, iFpip) | ||
//GO(XF86VidModeSetClientVersion, iFp) | ||
//GO(XF86VidModeGetGammaRamp, iFpiippp) | ||
//GO(XF86VidModeGetMonitor, iFpip) | ||
//GO(XF86VidModeQueryVersion, iFppp) | ||
//GO(XF86VidModeDeleteModeLine, iFpip) | ||
//GO(XF86VidModeGetModeLine, iFpipp) | ||
//GO(XF86VidModeGetAllModeLines, iFpipp) | ||
//GO(XF86VidModeSetGammaRamp, iFpiippp) | ||
//GO(XF86VidModeGetPermissions, iFpip) | ||
//GO(XF86VidModeModModeLine, iFpip) | ||
//GO(XF86VidModeSetViewPort, iFpiii) | ||
//GO(XF86VidModeSwitchMode, iFpii) | ||
//GO(XF86VidModeAddModeLine, iFpipp) | ||
//GO(XF86VidModeSwitchToMode, iFpip) | ||
//GO(XF86VidModeQueryExtension, iFppp) | ||
//GO(XF86VidModeGetGammaRampSize, iFpip) | ||
//GO(XF86VidModeGetDotClocks, iFpipppp) | ||
//GO(XF86VidModeLockModeSwitch, iFpii) |