This repository has been archived by the owner on Dec 25, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- CONFIG.DLL: Finished! - Fixed div.h include using a header file, DIVFIO.H, as bridge between CONFIG.CPP and minGlue-DIV.h using function pointers. - minIni.h: Commented all code related with C++ implementation. - minIni.cpp: Added new line before write section header, and added space separators to '=' assignation character. - MATH.CPP: Style improvements. - COMMON.CPP: Minor improvements applied. - MAKE.BAT: Added line to copy to DIV2 DLL folder. - Updated DLLTEST.PRG.
- Loading branch information
José Miguel Sánchez Fernández
committed
May 29, 2020
1 parent
5029b52
commit ac312f4
Showing
13 changed files
with
220 additions
and
143 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
Binary file not shown.
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,18 @@ | ||
/* FIX: For any reason, if you include div.h in any minGlue.h definition | ||
* to replace stdio.h fopen() and fclose() by div_fopen() and div_fclose() | ||
* this broken minIni.cpp at compiltation time. | ||
* | ||
* This header makes a bridge between config.cpp and minGlue-DIV.h to | ||
* allow share div_fopen() and div_fclose() functions using pointers | ||
* without need to include div.h. | ||
*/ | ||
|
||
#ifndef __DIVFIO_H_ | ||
#define __DIVFIO_H_ | ||
|
||
#include <stdio.h> | ||
|
||
FILE *(*file_open)(char*, char*); | ||
void (*file_close)(FILE*); | ||
|
||
#endif |
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 |
---|---|---|
@@ -1 +1 @@ | ||
wcl386 CONFIG.CPP minIni.c ..\COMMON.CPP /l=div_dll -s | ||
wcl386 CONFIG.CPP ..\COMMON.CPP minIni.cpp /l=div_dll -s |
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
Oops, something went wrong.