Ignore:
Timestamp:
Dec 7, 2011 1:02:10 PM (12 years ago)
Author:
Mathieu Doucet <doucetm@…>
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, release_4.0.1, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
00c2141
Parents:
8bac371
Message:

Re #4 This should clean up a whole bunch of C++ warnings.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sansmodels/src/sans/models/c_models/CFlexibleCylinderModel.cpp

    r35aface rb1c3295  
    121121} 
    122122 
     123static char name_params[] = "params"; 
     124static char def_params[] = "Parameters"; 
     125static char name_dispersion[] = "dispersion"; 
     126static char def_dispersion[] = "Dispersion parameters"; 
     127static char name_log[] = "log"; 
     128static char def_log[] = "Log"; 
     129 
    123130static PyMemberDef CFlexibleCylinderModel_members[] = { 
    124     {"params", T_OBJECT, offsetof(CFlexibleCylinderModel, params), 0, 
    125      "Parameters"}, 
    126         {"dispersion", T_OBJECT, offsetof(CFlexibleCylinderModel, dispersion), 0, 
    127           "Dispersion parameters"},      
    128     {"log", T_OBJECT, offsetof(CFlexibleCylinderModel, log), 0, 
    129      "Log"}, 
     131    {name_params, T_OBJECT, offsetof(CFlexibleCylinderModel, params), 0, def_params}, 
     132        {name_dispersion, T_OBJECT, offsetof(CFlexibleCylinderModel, dispersion), 0, def_dispersion},      
     133    {name_log, T_OBJECT, offsetof(CFlexibleCylinderModel, log), 0, def_log}, 
    130134    {NULL}  /* Sentinel */ 
    131135}; 
Note: See TracChangeset for help on using the changeset viewer.