Selaa lähdekoodia

* make the C-main public

Jonas Maebe 21 vuotta sitten
vanhempi
commit
fb999d409f
1 muutettua tiedostoa jossa 5 lisäystä ja 2 poistoa
  1. 5 2
      rtl/macos/system.pp

+ 5 - 2
rtl/macos/system.pp

@@ -1048,7 +1048,7 @@ procedure pascalmain; external name 'PASCALMAIN';
 {Main entry point in C style, needed to capture program parameters.
 {Main entry point in C style, needed to capture program parameters.
  For this to work, the system unit must be before the main program
  For this to work, the system unit must be before the main program
  in the linking order.}
  in the linking order.}
-procedure main(argcparam: Longint; argvparam: ppchar; envpparam: ppchar); cdecl;
+procedure main(argcparam: Longint; argvparam: ppchar; envpparam: ppchar); cdecl; [public];
 
 
 begin
 begin
   argc:= argcparam;
   argc:= argcparam;
@@ -1138,7 +1138,10 @@ end.
 
 
 {
 {
   $Log$
   $Log$
-  Revision 1.10  2003-10-29 22:34:52  olle
+  Revision 1.11  2004-01-04 21:06:43  jonas
+    * make the C-main public
+
+  Revision 1.10  2003/10/29 22:34:52  olle
     + handles program parameters for MPW
     + handles program parameters for MPW
     + program start stub
     + program start stub
     * improved working directory handling
     * improved working directory handling