Changeset 28020
- Timestamp:
- 11/17/23 21:12:03 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
issm/trunk-jpl/externalpackages/triangle/configs/triangle.h.patch
r28019 r28020 52 52 /* */ 53 53 /* Any input fields that Triangle will examine must be initialized. */ 54 @@ -247,17 +247,2 9@@54 @@ -247,17 +247,23 @@ 55 55 /* not used, `numberofsegments' will indicate the number of boundary edges. */ 56 56 /* */ 57 57 /*****************************************************************************/ 58 58 + 59 +#pragma once60 +61 +#ifndef ANSI_DECLARATORS62 +#define ANSI_DECLARATORS63 +#endif // ANSI_DECLARATORS64 65 59 +#ifdef SINGLE 66 60 +#define TRI_REAL float … … 68 62 +#define TRI_REAL double 69 63 +#endif /* not SINGLE */ 70 + 64 71 65 struct triangulateio { 72 66 - REAL *pointlist; /* In / out */ … … 86 80 int numberoftriangles; /* In / out */ 87 81 int numberofcorners; /* In / out */ 88 @@ -267,22 +27 9,22 @@82 @@ -267,22 +273,22 @@ 89 83 int *segmentmarkerlist; /* In / out */ 90 84 int numberofsegments; /* In / out */ … … 106 100 107 101 #ifdef ANSI_DECLARATORS 108 void triangulate(char *, struct triangulateio *, struct triangulateio *, 102 -void triangulate(char *, struct triangulateio *, struct triangulateio *, 103 +extern "C" void triangulate(char *, struct triangulateio *, struct triangulateio *, 109 104 struct triangulateio *); 110 105 -void trifree(VOID *memptr);
Note:
See TracChangeset
for help on using the changeset viewer.