Mercurial > libpst
comparison src/define.h @ 172:6954d315aaa8
move version-info into main configure.in, and set it properly.
prefix all external symbols in the shared library with pst_ to avoid symbol clashes with other shared libraries.
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Sat, 04 Apr 2009 16:00:48 -0700 |
parents | 03fbb0269f3c |
children | ac6e22c8a9cf |
comparison
equal
deleted
inserted
replaced
171:6c1e75bc4cac | 172:6954d315aaa8 |
---|---|
152 void pst_debug_func(const char *function); | 152 void pst_debug_func(const char *function); |
153 void pst_debug_func_ret(); | 153 void pst_debug_func_ret(); |
154 void pst_debug_close(void); | 154 void pst_debug_close(void); |
155 void pst_debug_write(); | 155 void pst_debug_write(); |
156 size_t pst_debug_fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream); | 156 size_t pst_debug_fwrite(const void *ptr, size_t size, size_t nitems, FILE *stream); |
157 | 157 void* pst_malloc(size_t size); |
158 void * xmalloc(size_t size); | |
159 | 158 |
160 #define MESSAGEPRINT(x,y) {pst_debug_msg_info(__LINE__,__FILE__,y);\ | 159 #define MESSAGEPRINT(x,y) {pst_debug_msg_info(__LINE__,__FILE__,y);\ |
161 pst_debug_msg_text x;} | 160 pst_debug_msg_text x;} |
162 | 161 |
163 #define LOGSTOP() {MESSAGESTOP();DEBUGSTOP();} | 162 #define LOGSTOP() {MESSAGESTOP();DEBUGSTOP();} |