source: trunk/include/fortran/RpFortranCommon.h @ 77

Last change on this file since 77 was 77, checked in by dkearney, 15 years ago
  1. initial checkin of RpLibrary? code, includes c++/c/fortran bindings
  2. minor modifications to makefiles to accommodate new code
  3. updated README in src to tell how to compile code in src and test
File size: 392 bytes
Line 
1
2#include <stdlib.h>
3#include <ctype.h>
4#include <string.h>
5#include <string>
6
7#ifndef _RpFORTRAN_COMMON_H
8#define _RpFORTRAN_COMMON_H
9
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15char* null_terminate(char* inStr, int len);
16std::string null_terminate_str(const char* inStr, int len);
17void fortranify(const char* inBuff, char* retText, int retTextLen);
18
19#ifdef __cplusplus
20}
21#endif
22   
23#endif
Note: See TracBrowser for help on using the repository browser.