Line | |
---|
1 | /* |
---|
2 | * ---------------------------------------------------------------------- |
---|
3 | * INTERFACE: Fortran Rappture Common Functions |
---|
4 | * |
---|
5 | * Fortran functions common to all interfaces. |
---|
6 | * |
---|
7 | * ====================================================================== |
---|
8 | * AUTHOR: Derrick Kearney, Purdue University |
---|
9 | * Copyright (c) 2004-2005 Purdue Research Foundation |
---|
10 | * |
---|
11 | * See the file "license.terms" for information on usage and |
---|
12 | * redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES. |
---|
13 | * ====================================================================== |
---|
14 | */ |
---|
15 | |
---|
16 | #include <string> |
---|
17 | |
---|
18 | #ifndef _RpFORTRAN_COMMON_H |
---|
19 | #define _RpFORTRAN_COMMON_H |
---|
20 | |
---|
21 | std::string null_terminate_str(const char* inStr, int len); |
---|
22 | |
---|
23 | #ifdef __cplusplus |
---|
24 | extern "C" { |
---|
25 | #endif |
---|
26 | |
---|
27 | char* null_terminate(char* inStr, int len); |
---|
28 | void fortranify(const char* inBuff, char* retText, int retTextLen); |
---|
29 | |
---|
30 | #ifdef __cplusplus |
---|
31 | } |
---|
32 | #endif |
---|
33 | |
---|
34 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.