Module: wine Branch: master Commit: ae0beb224ba12b92b582f5eab31c5f16c5f84cd9 URL: http://source.winehq.org/git/wine.git/?a=commit;h=ae0beb224ba12b92b582f5eab3...
Author: Jacek Caban jacek@codeweavers.com Date: Sun Jul 29 21:24:32 2007 +0200
widl: Reorder switch cases to keep alphabetical order.
---
tools/widl/write_msft.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tools/widl/write_msft.c b/tools/widl/write_msft.c index c50378e..920ca2b 100644 --- a/tools/widl/write_msft.c +++ b/tools/widl/write_msft.c @@ -1311,6 +1311,9 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, const func_t *func, int if (func->def->attrs) LIST_FOR_EACH_ENTRY( attr, func->def->attrs, const attr_t, entry ) { expr_t *expr = attr->u.pval; switch(attr->type) { + case ATTR_BINDABLE: + funcflags |= 0x4; /* FUNCFLAG_BINDABLE */ + break; case ATTR_DISPLAYBIND: funcflags |= 0x10; /* FUNCFLAG_DISPLAYBIND */ break; @@ -1358,9 +1361,6 @@ static HRESULT add_func_desc(msft_typeinfo_t* typeinfo, const func_t *func, int case ATTR_RESTRICTED: funcflags |= 0x1; /* FUNCFLAG_FRESTRICTED */ break; - case ATTR_BINDABLE: - funcflags |= 0x4; /* FUNCFLAG_BINDABLE */ - break; case ATTR_VARARG: if (num_optional || num_defaults) warning("add_func_desc: ignoring vararg in function with optional or defaultvalue params\n");