Mercurial > dwindows
changeset 2283:0c88059df8e9
Add forwarder macros to the new names of the "query" functions.
"Query" is nomenclature from the OS/2 roots of DW.. however GTK used the
shorter and more concise "get" nomenclature. At some point in the future,
probably the next major version the exported functions will switch to the
"get" versions and the "query" versions will become deprecated macros.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Wed, 03 Feb 2021 20:55:51 +0000 |
parents | b045bb67922d |
children | 3361ce6070ce |
files | dw.h |
diffstat | 1 files changed, 6 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dw.h Wed Feb 03 08:35:06 2021 +0000 +++ b/dw.h Wed Feb 03 20:55:51 2021 +0000 @@ -1603,6 +1603,12 @@ /* Use the dbsoft.org application domain by default if not specified */ #define DW_APP_DOMAIN_DEFAULT "org.dbsoft.dwindows" +/* Forwarder macros to the future names of these functions */ +#define dw_pointer_get_pos(a, b) dw_pointer_query_pos(a, b) +#define dw_environment_get(a) dw_environment_query(a) +#define dw_container_get_start(a, b) dw_container_query_start(a, b) +#define dw_container_get_next(a, b) dw_container_query_next(a, b) + /* Public function prototypes */ void API dw_box_pack_start(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad); void API dw_box_pack_end(HWND box, HWND item, int width, int height, int hsize, int vsize, int pad);