-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplugin.cpp
More file actions
43 lines (40 loc) · 1.23 KB
/
plugin.cpp
File metadata and controls
43 lines (40 loc) · 1.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*
* _____ _ ____ ____
* / ___/_____(_) __ \/ __ )
* \__ \/ ___/ / / / / __ |
* ___/ / /__/ / /_/ / /_/ /
* /____/\___/_/_____/_____/
*
*
* BEGIN_COPYRIGHT
*
* Copyright (C) 2008-2014 SciDB, Inc.
*
* SciDB is free software: you can redistribute it and/or modify
* it under the terms of the AFFERO GNU General Public License as published by
* the Free Software Foundation.
*
* SciDB is distributed "AS-IS" AND WITHOUT ANY WARRANTY OF ANY KIND,
* INCLUDING ANY IMPLIED WARRANTY OF MERCHANTABILITY,
* NON-INFRINGEMENT, OR FITNESS FOR A PARTICULAR PURPOSE. See
* the AFFERO GNU General Public License for the complete license terms.
*
* You should have received a copy of the AFFERO GNU General Public License
* along with SciDB. If not, see <http://www.gnu.org/licenses/agpl-3.0.html>
*
* END_COPYRIGHT
*/
/*
* @file plugin.cpp
* Stub file for a SciDB plugin.
*/
#include <vector>
#include "SciDBAPI.h"
#include "system/Constants.h"
EXPORTED_FUNCTION void GetPluginVersion(uint32_t& major, uint32_t& minor, uint32_t& patch, uint32_t& build)
{
major = scidb::SCIDB_VERSION_MAJOR();
minor = scidb::SCIDB_VERSION_MINOR();
patch = scidb::SCIDB_VERSION_PATCH();
build = scidb::SCIDB_VERSION_BUILD();
}