source: branches/blt4/src/core/RpFortranCommon.h @ 1780

Last change on this file since 1780 was 1086, checked in by dkearney, 16 years ago

adding RpDXWriter fortran bindings. updates to RpDXWriter and RpSimpleBuffer? objects

File size: 907 bytes
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
21std::string null_terminate_str(const char* inStr, int len);
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27char* null_terminate(char* inStr, int len);
28void 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.