Mercurial > pidgin
comparison PROGRAMMING_NOTES @ 4062:e074172f4a41
[gaim-migrate @ 4272]
note on gaim dirs
committer: Tailor Script <tailor@pidgin.im>
| author | Herman Bloggs <hermanator12002@yahoo.com> |
|---|---|
| date | Wed, 11 Dec 2002 14:55:45 +0000 |
| parents | e3a8baffcc24 |
| children | 59ff9d0b7b85 |
comparison
equal
deleted
inserted
replaced
| 4061:890b4f1318df | 4062:e074172f4a41 |
|---|---|
| 10 - Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") | 10 - Use gaim_home_dir instead of g_get_home_dir or g_getenv("HOME") |
| 11 | 11 |
| 12 - Make sure when including win32dep.h that it is the last header to | 12 - Make sure when including win32dep.h that it is the last header to |
| 13 be included. | 13 be included. |
| 14 | 14 |
| 15 Paths | |
| 16 ----- | |
| 17 | |
| 18 - DATADIR, LOCALEDIR & LIBDIR are defined in wingaim as functions. | |
| 19 Doing the following will therefore break the windows build: | |
| 20 | |
| 21 printf("File in DATADIR is: %s\n", DATADIR G_DIR_SEPARATOR_S "pic.png"); | |
| 22 | |
| 23 it should be: | |
| 24 | |
| 25 printf("File in DATADIR is: %s%s%s\n", DATADIR, G_DIR_SEPARATOR_S, "pic.png"); | |
| 26 | |
| 15 PLUGINS & PROTOS | 27 PLUGINS & PROTOS |
| 16 ---------------- | 28 ---------------- |
| 17 | 29 |
| 18 - G_MODULE_EXPORT all functions which are to be accessed from outside the | 30 - G_MODULE_EXPORT all functions which are to be accessed from outside the |
| 19 scope of its "dll" or "so". (E.G. gaim_plugin_init) | 31 scope of its "dll" or "so". (E.G. gaim_plugin_init) |
