An open API service indexing awesome lists of open source software.

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.

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/)