[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
safer public header
From: |
Jeremy Whiting |
Subject: |
safer public header |
Date: |
Mon, 20 Jul 2009 13:34:30 -0600 |
Oops, forgot to attach the patch again... (one of these days I'll remember to
attach it before hitting send)
Jeremy
On Friday 17 July 2009 5:10:51 pm Jeremy Whiting wrote:
> Hynek, all,
>
> Here's a small patch to make libspeechd.h much easier to work with from
> C/C++ apps/libraries. I just wrapped the definition of spd_debug in an
> #ifdef matching the #ifdef in the .c file. This way apps that define their
> own spd_debug can still include libspeechd.h (I'd really really like this
> to get into the next release so kttsd in kde 4.4 wont have to have weird
> #define spd_debug spd_debug2 hacks in it before including libspeechd.h)
>
> thanks,
>
> Jeremy
>
> _______________________________________________
> Speechd mailing list
> Speechd at lists.freebsoft.org
> http://lists.freebsoft.org/mailman/listinfo/speechd
-------------- next part --------------
A non-text attachment was scrubbed...
Name: saferdebug.diff
Type: text/x-patch
Size: 463 bytes
Desc: not available
URL:
<http://lists.freebsoft.org/pipermail/speechd/attachments/20090720/f420bb15/attachment.bin>