Thursday, July 3, 2008

gtk 如何debug

要檢查gtk程式除了手動gprintf,
還可以在程式中使用這個 function 來做一點簡單的檢查 :

g_return_val_if_fail
(expr)
Logs a warning if the expression is not true.

其他參見

Message Output and Debugging Functions

Message Output and Debugging Functions — functions to output messages and help debug applications



No comments:

Post a Comment

發表一下意見,互動一下唄!

LinkWithin

Related Posts Plugin for WordPress, Blogger...

Adventure Book 2.0 Headline Animator

GoogleAd

funP Android 相關文章