Browse Source

add version.h

pull/196/merge
Max Lv 10 years ago
parent
commit
089522277b
2 changed files with 29 additions and 1 deletions
  1. 1
      libsodium/.gitignore
  2. 29
      libsodium/src/libsodium/include/sodium/version.h

1
libsodium/.gitignore

@ -48,7 +48,6 @@ src/curvecp/curvecpmessage
src/curvecp/curvecpprintkey
src/curvecp/curvecpserver
src/libsodium/*.def
src/libsodium/include/sodium/version.h
stamp-*
test/default/*.res
test/default/*.trs

29
libsodium/src/libsodium/include/sodium/version.h

@ -0,0 +1,29 @@
#ifndef sodium_version_H
#define sodium_version_H
#include "export.h"
#define SODIUM_VERSION_STRING "1.0.1"
#define SODIUM_LIBRARY_VERSION_MAJOR 7
#define SODIUM_LIBRARY_VERSION_MINOR 3
#ifdef __cplusplus
extern "C" {
#endif
SODIUM_EXPORT
const char *sodium_version_string(void);
SODIUM_EXPORT
int sodium_library_version_major(void);
SODIUM_EXPORT
int sodium_library_version_minor(void);
#ifdef __cplusplus
}
#endif
#endif
Loading…
Cancel
Save