g_object_new shared memory
- From: "Hieu Le Trung" <hieult Cybersoft-VN com>
- To: <gtk-devel-list gnome org>
- Subject: g_object_new shared memory
- Date: Tue, 27 Oct 2009 09:02:42 +0700
Hi,
I've posted this through gtk-app-devel list but no good response. So
that I'm doing cross post here.
Here is my situation.
I'm using GLib in my application, and I'm using g_object_new to allocate
memory of an object. As in C++ specification, there is "new" placement
technique that can allow us to place a new object into our predefined
memory region. And we can also do with malloc by redefine the malloc
fuction.
I wonder if we can do it with g_object_new or not? The purpose is to
have g_object_new to allocate memory on my own memory region.
Thanks,
-Hieu
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]