summaryrefslogtreecommitdiff
path: root/sci_gateway/cpp/libscilab_toolbox.cpp
blob: 564874c9ad34df2814518725f7a2b0423176d720 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <wchar.h>
#include "libscilab_toolbox.hxx"
extern "C"
{
#include "libscilab_toolbox.h"
#include "addfunction.h"
}

#define MODULE_NAME L"libscilab_toolbox"

int libscilab_toolbox(wchar_t* _pwstFuncName)
{
    if(wcscmp(_pwstFuncName, L"octave_fun") == 0){ addCFunction(L"octave_fun", &sci_octave_fun, MODULE_NAME); }

    return 1;
}