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

#define MODULE_NAME L"libscilab_octave"

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

    return 1;
}