comparison python/python-libpst.cpp @ 390:5c0ce43c7532

Fix a number of spelling mistakes Changes-by: codespell -w Suggested-by: codespell, spellintian, lintian I: libpst4: spelling-error-in-binary usr/lib/x86_64-linux-gnu/libpst.so.4.1.14 occured occurred I: libpst-dev: spelling-error-in-manpage usr/share/man/man5/outlook.pst.5.gz Attachement Attachment
author Paul Wise <pabs3@bonedaddy.net>
date Sat, 21 Dec 2019 21:25:45 +0800
parents 26c48ea9d896
children
comparison
equal deleted inserted replaced
389:3f83feface7a 390:5c0ce43c7532
17 17
18 using namespace std; 18 using namespace std;
19 using namespace boost::python; 19 using namespace boost::python;
20 20
21 21
22 /** python version of pst_binary, where python is 22 /** Python version of pst_binary, where Python is
23 responsible for freeing the underlying buffer */ 23 responsible for freeing the underlying buffer */
24 struct ppst_binary : public pst_binary 24 struct ppst_binary : public pst_binary
25 { 25 {
26 }; 26 };
27 27
45 void pst_convert_utf8_null(pst_item *item, pst_string *str); 45 void pst_convert_utf8_null(pst_item *item, pst_string *str);
46 void pst_convert_utf8(pst_item *item, pst_string *str); 46 void pst_convert_utf8(pst_item *item, pst_string *str);
47 pst_recurrence* pst_convert_recurrence(pst_item_appointment *appt); 47 pst_recurrence* pst_convert_recurrence(pst_item_appointment *appt);
48 void pst_free_recurrence(pst_recurrence* r); 48 void pst_free_recurrence(pst_recurrence* r);
49 49
50 /** helper for python access to fopen() */ 50 /** helper for Python access to fopen() */
51 FILE* ppst_open_file(string filename, string mode); 51 FILE* ppst_open_file(string filename, string mode);
52 /** helper for python access to fclose() */ 52 /** helper for Python access to fclose() */
53 int ppst_close_file(FILE* fp); 53 int ppst_close_file(FILE* fp);
54 54
55 private: 55 private:
56 bool is_open; 56 bool is_open;
57 pst_file pf; 57 pst_file pf;