• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#objective-cqtwindows誰得cocoapythonphprubygameguibathyscaphec翻訳omegat計画中(planning stage)frameworktwittertestdomvb.netdirectxbtronarduinopreviewerゲームエンジン

かんしゃのきもち (気持ちだけ)


Commit MetaInfo

Revisão22a9fe3d4f0e77e2c253b8e559e4722307837c6f (tree)
Hora2018-03-19 15:44:41
AutorIWAMOTO Kouichi <sue@iwmt...>
CommiterIWAMOTO Kouichi

Mensagem de Log

Eliminate FAR keyword

Mudança Sumário

Diff

--- a/TTXFlyingTeraTerm.c
+++ b/TTXFlyingTeraTerm.c
@@ -44,7 +44,7 @@ typedef struct {
4444 PTTSet ts;
4545 } TInstVar;
4646
47-static TInstVar FAR * pvar;
47+static TInstVar *pvar;
4848 static TInstVar InstVar;
4949
5050 static void PASCAL FAR TTXInit(PTTSet ts, PComVar cv) {
@@ -79,14 +79,14 @@ static TTXExports Exports = {
7979 NULL, // TTXCloseFile
8080 };
8181
82-BOOL __declspec(dllexport) PASCAL FAR TTXBind(WORD Version, TTXExports FAR * exports) {
82+BOOL __declspec(dllexport) PASCAL FAR TTXBind(WORD Version, TTXExports *exports) {
8383 int size = sizeof(Exports) - sizeof(exports->size);
8484
8585 if (size > exports->size) {
8686 size = exports->size;
8787 }
88- memcpy((char FAR *)exports + sizeof(exports->size),
89- (char FAR *)&Exports + sizeof(exports->size),
88+ memcpy((char *)exports + sizeof(exports->size),
89+ (char *)&Exports + sizeof(exports->size),
9090 size);
9191 return TRUE;
9292 }