File: missingh2pasdirectives.pas

package info (click to toggle)
lazarus 2.0.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 214,460 kB
  • sloc: pascal: 1,862,622; xml: 265,709; cpp: 56,595; sh: 3,008; java: 609; makefile: 535; perl: 297; sql: 222; ansic: 137
file content (67 lines) | stat: -rw-r--r-- 1,345 bytes parent folder | download | duplicates (12)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
unit MissingH2PasDirectives;
{$mode objfpc}{$H+}

interface

uses
  Classes, SysUtils;

{$ifndef MPIO_INCLUDE}
  {$ifndef HAVE_MPI_DARRAY_SUBARRAY}
    {$undef HAVE_MPI_DARRAY_SUBARRAY}
    {$define HAVE_MPI_DARRAY_SUBARRAY}
  {$endif}
  {$ifndef HAVE_PRAGMA_HP_SEC_DEF}
    {$ifndef HAVE_MPI_DARRAY_SUBARRAY}
    type c = char;
    {$endif}
  {$endif}
{$endif}

{$ifndef MPI_INCLUDED}
{$define MPI_INCLUDED}

  { was #define dname def_expr }
  function MPI_CHAR : MPI_Datatype;
  { was #define dname def_expr }
  function MPI_SIGNED_CHAR : MPI_Datatype;

{$ENDIF}

{$ifndef MPI_INCLUDED2}

  { was #define dname def_expr }
  function MPI_CHAR : MPI_Datatype;
  { was #define dname def_expr }
  function MPI_SIGNED_CHAR : MPI_Datatype;

{$ENDIF}

implementation

  { was #define dname def_expr }
  function MPI_CHAR : MPI_Datatype;
      begin
         MPI_CHAR:=MPI_Datatype($4c000101);
      end;

  { was #define dname def_expr }
  function MPI_SIGNED_CHAR : MPI_Datatype;
      begin
         MPI_SIGNED_CHAR:=MPI_Datatype($4c000118);
      end;

  { was #define dname def_expr }
  function MPI_CHAR : MPI_Datatype;
      begin
         MPI_CHAR:=MPI_Datatype($4c000101);
      end;

  { was #define dname def_expr }
  function MPI_SIGNED_CHAR : MPI_Datatype;
      begin
         MPI_SIGNED_CHAR:=MPI_Datatype($4c000118);
      end;

end.