libxlsxwriter/include/xlsxwriter/format.h in fast_excel-0.2.6 vs libxlsxwriter/include/xlsxwriter/format.h in fast_excel-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ /* * libxlsxwriter * - * Copyright 2014-2018, John McNamara, jmcnamara@cpan.org. See LICENSE.txt. + * Copyright 2014-2019, John McNamara, jmcnamara@cpan.org. See LICENSE.txt. */ /** * @page format_page The Format object * @@ -478,11 +478,11 @@ #ifdef __cplusplus extern "C" { #endif /* *INDENT-ON* */ -lxw_format *lxw_format_new(); +lxw_format *lxw_format_new(void); void lxw_format_free(lxw_format *format); int32_t lxw_format_get_xf_index(lxw_format *format); lxw_font *lxw_format_get_font_key(lxw_format *format); lxw_border *lxw_format_get_border_key(lxw_format *format); lxw_fill *lxw_format_get_fill_key(lxw_format *format); @@ -689,10 +689,10 @@ * index to a limited number of Excel's built-in number formats instead of a * user defined format string: * * @code * format = workbook_add_format(workbook); - * format_set_num_format(format, 0x0F); // d-mmm-yy + * format_set_num_format_index(format, 0x0F); // d-mmm-yy * @endcode * * @note * Unless you need to specifically access one of Excel's built-in number * formats the format_set_num_format() function above is a better