Expose tbGetBuffer to the rest of libxkbcommon
authorDaniel Stone <daniel@fooishbar.org>
Tue, 15 Jun 2010 15:42:06 +0000 (16:42 +0100)
committerDaniel Stone <daniel@fooishbar.org>
Tue, 22 Jun 2010 14:56:56 +0000 (15:56 +0100)
commita0e180b08382bb62415f2cd37c61ecfd99b00773
treeb984a850c81e90d479d3f038692f47873cb72b77
parent4346e0065b558a41957bcca670484cbe408717d3
Expose tbGetBuffer to the rest of libxkbcommon

This will let us implement XkbAtomGetString on top of XkbAtomText,
instead of having the latter get a duplicated string, dump it into a
temporary buffer, and subsequently free it (sigh).

Signed-off-by: Daniel Stone <daniel@fooishbar.org>
src/XKBcommonint.h
src/text.c