https://github.com/qichunren/glib-guide
Notes repository for learn c & glib library usage.
https://github.com/qichunren/glib-guide
glib
Last synced: 11 months ago
JSON representation
Notes repository for learn c & glib library usage.
- Host: GitHub
- URL: https://github.com/qichunren/glib-guide
- Owner: qichunren
- License: other
- Created: 2017-08-21T11:35:56.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-06-03T11:45:11.000Z (over 5 years ago)
- Last Synced: 2024-12-28T04:06:38.069Z (about 1 year ago)
- Topics: glib
- Language: Shell
- Homepage: https://qichunren.github.io/glib-guide/
- Size: 332 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog
- License: COPYING
- Authors: AUTHORS
Awesome Lists containing this project
README
# Glib guide
## 目录
* [GString 使用](basic/GString_Usage)
* [GAsyncQueue 使用](basic/GAsyncQueue_Usage)
## Install dependency
sudo apt-get install libsoup2.4-dev
## Build steps
./clean.sh
./autogen.sh
mkdir -p build && cd build
../configure
make
./src/demo1
## Debug
Run `export G_MESSAGES_DEBUG=all` to make `g_debug` function output message.
## 参考资源
* [GObject Reference Manual](https://developer.gnome.org/gobject/stable/index.html)
* [How to define and implement a new GObject](https://developer.gnome.org/gobject/stable/howto-gobject.html)
* [Boilerplate code](https://developer.gnome.org/gobject/stable/howto-gobject-code.html)
* [如何定义和实现新的GObject之代码实现](https://blog.csdn.net/lp525110627/article/details/71731595)
* [如何定义和实现新的GObject之对象构造和析构](https://blog.csdn.net/lp525110627/article/details/71743173)
* [Manage C data using the GLib collections](https://www.ibm.com/developerworks/linux/tutorials/l-glib/)
* [使用 GObject 库模拟类的数据封装形式](http://garfileo.is-programmer.com/2011/2/27/the-analog-of-classed-type-based-gobject.24798.html)
* [IBM DeveloperGObject对象系统](https://www.ibm.com/developerworks/cn/linux/l-gobject/)