Classes: Difference between revisions

m
(Added some info I forgot.)
Line 4,373:
;; Malloc/Free are used by Linux and OSX. So the function prototypes have to
;; be defined somewhere. If you have include files where they're defined, just
;; include them insted in the usual way and remove the option dllimports.
if @Platform eq 1 ;; Windows 64
;; include windows.inc
;; includelib kernel32.lib
option dllimport:<kernel32>
;; include windows.inc
;; includelib kernel32.lib
HeapAlloc proto :qword, :dword, :qword
HeapFree proto :qword, :dword, :qword