-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathcustom.c
80 lines (62 loc) · 1.4 KB
/
custom.c
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
/*****************************************************************************
* custom - A library for creating Excel custom property files.
*
* Used in conjunction with the libxlsxwriter library.
*
* Copyright 2014-2019, John McNamara, jmcnamara@cpan.org. See LICENSE.txt.
*
*/
/*
* Wrapped for Harbour by Riztan Gutierrez, riztan@gmail.com
*
*/
#include "xlsxwriter/xmlwriter.h"
#include "xlsxwriter/custom.h"
#include "xlsxwriter/utility.h"
#include "hbapi.h"
/*****************************************************************************
*
* Private functions.
*
****************************************************************************/
/*
* Create a new custom object.
*/
/*
lxw_custom *
lxw_custom_new(void)
*/
HB_FUNC( LXW_CUSTOM_NEW )
{
hb_retptr( lxw_custom_new() );
}
/*
* Free a custom object.
*/
/*
void
lxw_custom_free(lxw_custom *custom)
*/
HB_FUNC( LXW_CUSTOM_FREE )
{
lxw_custom *custom = hb_parptr( 1 ) ;
lxw_custom_free(custom) ;
}
/*****************************************************************************
*
* XML file assembly functions.
*
****************************************************************************/
/*
* Assemble and write the XML file.
*/
/*
void
lxw_custom_assemble_xml_file(lxw_custom *self)
*/
HB_FUNC( LXW_CUSTOM_ASSEMBLE_XML_FILE )
{
lxw_custom *self = hb_parptr( 1 ) ;
lxw_custom_assemble_xml_file(self) ;
}
//eof