~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to install/macosx/xcode/FPC-C-C++ Carbon Application/External.c

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// External.c - implements external C function calling pascal.
 
2
 
 
3
#include "MainExports.h"
 
4
 
 
5
SInt32 CFunction(void)
 
6
{
 
7
        Str255 msg;
 
8
        
 
9
        // use GetIndString just to use data fork resources
 
10
        GetIndString(msg, 128, 1);
 
11
        
 
12
        // call back to pascal main:
 
13
        Message(msg);
 
14
 
 
15
        return 123;
 
16
}