source: trunk/src/core/RpFortranCommon.h @ 4503

Last change on this file since 4503 was 3362, checked in by ldelgass, 12 years ago

Merge nanovis2 branch to trunk

File size: 904 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-2012  HUBzero Foundation, LLC
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.