Commits

ecsv  committed 659d068

Fix export of plugin functions

  • Participants
  • Parent commits d4cf7c0

Comments (0)

Files changed (3)

File projects/unix/Makefile

 # base CFLAGS, LDLIBS, and LDFLAGS
 OPTFLAGS ?= -O3
 WARNFLAGS ?= -Wall
-CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -I../../src -I../../src/Glitch64/inc -DGCC
+CFLAGS += $(OPTFLAGS) $(WARNFLAGS) -ffast-math -fno-strict-aliasing -fvisibility=hidden -I../../src -I../../src/Glitch64/inc -DGCC
 CXXFLAGS += -fvisibility-inlines-hidden
 LDFLAGS += $(SHARED)
 

File src/Glide64/Main.cpp

 that there is a waiting interrupt.
 *******************************************************************/
 
-int CALL InitiateGFX (GFX_INFO Gfx_Info)
+EXPORT int CALL InitiateGFX (GFX_INFO Gfx_Info)
 {
   VLOG ("InitiateGFX (*)\n");
   voodoo.num_tmu = 2;
 client area of the window.
 output:   none
 *******************************************************************/
-void CALL MoveScreen (int xpos, int ypos)
+EXPORT void CALL MoveScreen (int xpos, int ypos)
 {
   rdp.window_changed = TRUE;
 }
 input:    none
 output:   none
 *******************************************************************/
-void CALL RomClosed (void)
+EXPORT void CALL RomClosed (void)
 {
   VLOG ("RomClosed ()\n");
 
 output:   none
 *******************************************************************/
 bool no_dlist = true;
-void CALL ShowCFB (void)
+EXPORT void CALL ShowCFB (void)
 {
   no_dlist = true;
   VLOG ("ShowCFB ()\n");
 output:   none
 *******************************************************************/
 wxUint32 update_screen_count = 0;
-void CALL UpdateScreen (void)
+EXPORT void CALL UpdateScreen (void)
 {
 #ifdef LOG_KEY
   if (CheckKeyPressed(G64_VK_SPACE, 0x0001))
 input:    none
 output:   none
 *******************************************************************/
-void CALL ViStatusChanged (void)
+EXPORT void CALL ViStatusChanged (void)
 {
 }
 
 input:    none
 output:   none
 *******************************************************************/
-void CALL ViWidthChanged (void)
+EXPORT void CALL ViWidthChanged (void)
 {
 }
 

File src/Glide64/rdp.cpp

 #ifdef __cplusplus
 extern "C" {
 #endif
-void CALL ProcessRDPList(void)
+EXPORT void CALL ProcessRDPList(void)
 {
   LOG ("ProcessRDPList ()\n");
   LRDP("ProcessRDPList ()\n");