|
|
Sponsor |
Re: Experiences with XCB: msg#00133freedesktop.xcb
On Sep 19, 2006, at 11:41 PM, Jamey Sharp wrote:
If you're willing to search for them in CVS and read the Postscript or troff (?) source files. Xorg desperately needs volunteers to help modernize their documentation. While we intend to integrate all of that documentation together I'm with Ori. This is an interesting C idiom, but it quickly becomes inconvenient. I haven't seen this technique used in any other C projects. It also makes using constants more painful. For example, you can't simply use XCB_CURRENT_TIME when you need it; you have to declare an xcb_timestamp_t structure with XCB_CURRENT_TIME in it and use that. It is also funny to strengthen typing with these structs for some things, but lose typing altogether for other things, like the value lists used by create_window.
This seems like a frequently asked question. Let's write up sample code for several common event-peeking replacement strategies and add them to the tutorial and to the FAQ page on the wiki. I think Jamey already wrote some code to the mailing list a while back. Also, isn't there already an xcb_utils/event library? We might be able to add some generic code there as well.
I did this as well when porting Xlib code. Living code is the ultimate documentation.
[insert sound of chirping crickets here]
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: naming convention (finished), Ian Osgood |
|---|---|
| Next by Date: | Re: doc (was: Experiences with XCB), Ian Osgood |
| Previous by Thread: | Re: doc (was: Experiences with XCB), Vincent Torri |
| Next by Thread: | release XCB 1.0 today: last steps needed, Jamey Sharp |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home | sitemap
| advertise | OSDir is
an inevitable website.
|