diff options
author | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2020-09-20 03:03:26 +0000 |
commit | 1f457376b478257b88d4a857f5ec1b6155442dd7 (patch) | |
tree | 2a06a60551dea362cf8cb0cb0ba66c78608717c4 /support/dktools/WxdkdrawWrite.h | |
parent | ac690ca29ad5bf8a5203a65fd6252f7b564f4727 (diff) |
CTAN sync 202009200303
Diffstat (limited to 'support/dktools/WxdkdrawWrite.h')
-rw-r--r-- | support/dktools/WxdkdrawWrite.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/support/dktools/WxdkdrawWrite.h b/support/dktools/WxdkdrawWrite.h new file mode 100644 index 0000000000..8b86107f74 --- /dev/null +++ b/support/dktools/WxdkdrawWrite.h @@ -0,0 +1,46 @@ +/* +Copyright (C) 2020-2020, Dirk Krause +SPDX-License-Identifier: BSD-3-Clause +*/ + +/* + WARNING: This file was generated by the dkct program (see + http://dktools.sourceforge.net/ for details). + Changes you make here will be lost if dkct is run again! + You should modify the original source and run dkct on it. + Original source: WxdkdrawWrite.cpt +*/ + +#ifndef WXDKDRAWWRITE_H_INCLUDED +/** Avoid multiple inclusions. */ +#define WXDKDRAWWRITE_H_INCLUDED 1 + + +#line 7 "WxdkdrawWrite.cpt" + +/** @file WxdkdrawWrite.h Write drawing to file. +*/ + +#include "WxdkdrawTypes.h" + + +/** Initialize a writer status structure. + @param pstat Status structure to initialize. + @param wxe Encoding for wxChar strings. +*/ +void +wxdwr_status_init(wxdwr_status_t *pstat, int wxe); + +/** Write drawing to file. + @param fout Output file to write, opened for text writing. + @param pdrw Drawing to write to file. + @param pstat Writer status. + @return 1 on success, 0 on error. +*/ + +int +wxdwr_write_file(FILE *fout, Wxd_drawing_t *pdrw, wxdwr_status_t *pstat); + + + +#endif |