source: branches/nanovis2/lang/matlab/RpMatlabInterface.h @ 3305

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

sync with trunk

File size: 1011 bytes
Line 
1/*
2 * ----------------------------------------------------------------------
3 *  INTERFACE: Rappture-Matlab Bindings Header
4 *
5 * ======================================================================
6 *  AUTHOR:  Derrick Kearney, Purdue University
7 *  Copyright (c) 2004-2012  HUBzero Foundation, LLC
8 *
9 *  See the file "license.terms" for information on usage and
10 *  redistribution of this file, and for a DISCLAIMER OF ALL WARRANTIES.
11 * ======================================================================
12 */
13
14#ifndef _Rp_MATLAB_HELPER_H
15#define _Rp_MATLAB_HELPER_H
16
17#include "rappture.h"
18#include "RpBindingsDict.h"
19
20// include the matlab api header
21#include "mex.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27    int     getIntInput     ( const mxArray* prhs );
28    double  getDoubleInput  ( const mxArray* prhs );
29    char*   getStringInput  ( const mxArray* prhs );
30    void    freeStringInput ( void* ptr);
31    void    rpmxFlush       ();
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif // _Rp_MATLAB_HELPER_H
Note: See TracBrowser for help on using the repository browser.