Mercurial > dwindows
comparison gtk/dw.c @ 163:0322836c5299
Return -1 on error from dw_module_load().
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sun, 17 Nov 2002 12:34:54 +0000 |
parents | df59a3fc6de6 |
children | d35771f70bdd |
comparison
equal
deleted
inserted
replaced
162:df59a3fc6de6 | 163:0322836c5299 |
---|---|
5012 *handle = dlopen(newname, RTLD_NOW); | 5012 *handle = dlopen(newname, RTLD_NOW); |
5013 } | 5013 } |
5014 | 5014 |
5015 free(newname); | 5015 free(newname); |
5016 | 5016 |
5017 return (NULL == *handle); | 5017 return (NULL == *handle) ? -1 : 0; |
5018 } | 5018 } |
5019 | 5019 |
5020 /* Queries the address of a symbol within open handle. | 5020 /* Queries the address of a symbol within open handle. |
5021 * Parameters: | 5021 * Parameters: |
5022 * handle: Module handle returned by dw_module_load() | 5022 * handle: Module handle returned by dw_module_load() |