Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

Location:
vendor/current/source4/lib/wmi
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source4/lib/wmi/tools/wmis.c

    r414 r988  
    103103        struct GUID clsid;
    104104        struct GUID iid;
    105         WERROR result, coresult;
     105        WERROR result;
     106        HRESULT coresult;
    106107        struct IUnknown **mqi;
    107108        struct IWbemLevel1Login *pL;
  • vendor/current/source4/lib/wmi/wmi_wrap.c

    r414 r988  
    187187
    188188     if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
    189        // success code
     189       /* success code */
    190190     } else {
    191        //fail code
     191       /*fail code */
    192192     }
    193193
     
    196196    int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
    197197    if (SWIG_IsOK(res)) {
    198       // success code
     198      /* success code */
    199199    } else {
    200       // fail code
     200      /* fail code */
    201201    }
    202202
     
    206206    int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
    207207    if (SWIG_IsOK(res)) {
    208       // success code
     208      /* success code */
    209209      if (SWIG_IsNewObj(res) {
    210210        ...
     
    214214      }
    215215    } else {
    216       // fail code
     216      /* fail code */
    217217    }
    218218   
     
    240240
    241241   Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
    242    allows to return the 'cast rank', for example, if you have this
     242   allows one to return the 'cast rank', for example, if you have this
    243243
    244244       int food(double)
     
    247247   and you call
    248248 
    249       food(1)   // cast rank '1'  (1 -> 1.0)
    250       fooi(1)   // cast rank '0'
     249      food(1)   /* cast rank '1'  (1 -> 1.0) */
     250      fooi(1)   /* cast rank '0' */
    251251
    252252   just use the SWIG_AddCast()/SWIG_CheckState()
  • vendor/current/source4/lib/wmi/wmicore.c

    r414 r988  
    5858        struct GUID clsid;
    5959        struct GUID iid;
    60         WERROR result, coresult;
     60        WERROR result;
     61        HRESULT coresult;
    6162        struct IUnknown **mqi;
    6263        struct IWbemLevel1Login *pL;
Note: See TracChangeset for help on using the changeset viewer.