what is FAR PASCAL?

后端 未结 7 1616
故里飘歌
故里飘歌 2020-12-10 01:00

I was wondering why in some source code there are these macros like FAR and PASCAL. What do they mean and do?

7条回答
  •  不思量自难忘°
    2020-12-10 01:32

    FAR is a holdover from the 16-bit era, when we had near (16-bit) and far (32-bit) pointers.

    PASCAL is a calling convention. I believe it's equivalent to stdcall nowadays.

提交回复
热议问题