mirror of
https://github.com/jmcnamara/libxlsxwriter.git
synced 2026-05-21 06:45:21 -06:00
add lxw_version function to rerieve runtime library version
This commit is contained in:
parent
2fd7a4f814
commit
157feee33f
2 changed files with 17 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
|||
#include <string.h>
|
||||
#include <stdint.h>
|
||||
#include <stdlib.h>
|
||||
#include "xlsxwriter/utility.h"
|
||||
#include "xlsxwriter.h"
|
||||
#include "xlsxwriter/third_party/tmpfileplus.h"
|
||||
|
||||
char *error_strings[LXW_MAX_ERRNO + 1] = {
|
||||
|
|
@ -553,3 +553,12 @@ lxw_sprintf_dbl(char *data, double number)
|
|||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Retrieve runtime library version
|
||||
*/
|
||||
const char *
|
||||
lxw_version(void)
|
||||
{
|
||||
return LXW_VERSION;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue