Fixed crashes in code generated by SourceHook's HookManGen on Mac OS X (
bug 3514, r=dvander).
This fixes two problems:
1) On OS X structures/objects with sizes of 1, 2, 4, or 8 are returned from functions in registers, not memory addresses.
2) A function returning anything which was 8 bytes in size was crashing. This problem affected all compilers/operating systems.
1 unit UnitSelectModPath;
6 SysUtils, Windows, Messages, Classes, Graphics, Controls,
7 StdCtrls, ExtCtrls, Forms, FileCtrl, ComCtrls, ShellCtrls,
8 TFlatComboBoxUnit, TFlatButtonUnit;
11 TfrmSelectModPath = class(TForm)
14 trvDirectory: TShellTreeView;
16 cmdCancel: TFlatButton;
20 frmSelectModPath: TfrmSelectModPath;