Changeset 2605da22 in sasview for sansmodels/src
- Timestamp:
- Dec 7, 2011 3:27:31 PM (13 years ago)
- 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:
- 5f0dcab
- Parents:
- 00c2141
- Location:
- sansmodels/src/sans/models/c_models
- Files:
-
- 49 edited
Legend:
- Unmodified
- Added
- Removed
-
sansmodels/src/sans/models/c_models/CBCCrystalModel.cpp
r00c2141 r2605da22 613 613 614 614 d = PyModule_GetDict(module); 615 CBCCrystalModelError = PyErr_NewException("CBCCrystalModel.error", NULL, NULL); 615 static char error_name[] = "CBCCrystalModel.error"; 616 CBCCrystalModelError = PyErr_NewException(error_name, NULL, NULL); 616 617 PyDict_SetItemString(d, "CBCCrystalModelError", CBCCrystalModelError); 617 618 } -
sansmodels/src/sans/models/c_models/CBarBellModel.cpp
r00c2141 r2605da22 621 621 622 622 d = PyModule_GetDict(module); 623 CBarBellModelError = PyErr_NewException("CBarBellModel.error", NULL, NULL); 623 static char error_name[] = "CBarBellModel.error"; 624 CBarBellModelError = PyErr_NewException(error_name, NULL, NULL); 624 625 PyDict_SetItemString(d, "CBarBellModelError", CBarBellModelError); 625 626 } -
sansmodels/src/sans/models/c_models/CBinaryHSModel.cpp
r00c2141 r2605da22 577 577 578 578 d = PyModule_GetDict(module); 579 CBinaryHSModelError = PyErr_NewException("CBinaryHSModel.error", NULL, NULL); 579 static char error_name[] = "CBinaryHSModel.error"; 580 CBinaryHSModelError = PyErr_NewException(error_name, NULL, NULL); 580 581 PyDict_SetItemString(d, "CBinaryHSModelError", CBinaryHSModelError); 581 582 } -
sansmodels/src/sans/models/c_models/CCSParallelepipedModel.cpp
r00c2141 r2605da22 669 669 670 670 d = PyModule_GetDict(module); 671 CCSParallelepipedModelError = PyErr_NewException("CCSParallelepipedModel.error", NULL, NULL); 671 static char error_name[] = "CCSParallelepipedModel.error"; 672 CCSParallelepipedModelError = PyErr_NewException(error_name, NULL, NULL); 672 673 PyDict_SetItemString(d, "CCSParallelepipedModelError", CCSParallelepipedModelError); 673 674 } -
sansmodels/src/sans/models/c_models/CCappedCylinderModel.cpp
r00c2141 r2605da22 621 621 622 622 d = PyModule_GetDict(module); 623 CCappedCylinderModelError = PyErr_NewException("CCappedCylinderModel.error", NULL, NULL); 623 static char error_name[] = "CCappedCylinderModel.error"; 624 CCappedCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 624 625 PyDict_SetItemString(d, "CCappedCylinderModelError", CCappedCylinderModelError); 625 626 } -
sansmodels/src/sans/models/c_models/CCoreFourShellModel.cpp
r00c2141 r2605da22 641 641 642 642 d = PyModule_GetDict(module); 643 CCoreFourShellModelError = PyErr_NewException("CCoreFourShellModel.error", NULL, NULL); 643 static char error_name[] = "CCoreFourShellModel.error"; 644 CCoreFourShellModelError = PyErr_NewException(error_name, NULL, NULL); 644 645 PyDict_SetItemString(d, "CCoreFourShellModelError", CCoreFourShellModelError); 645 646 } -
sansmodels/src/sans/models/c_models/CCoreShellCylinderModel.cpp
r00c2141 r2605da22 626 626 627 627 d = PyModule_GetDict(module); 628 CCoreShellCylinderModelError = PyErr_NewException("CCoreShellCylinderModel.error", NULL, NULL); 628 static char error_name[] = "CCoreShellCylinderModel.error"; 629 CCoreShellCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 629 630 PyDict_SetItemString(d, "CCoreShellCylinderModelError", CCoreShellCylinderModelError); 630 631 } -
sansmodels/src/sans/models/c_models/CCoreShellEllipsoidModel.cpp
r00c2141 r2605da22 644 644 645 645 d = PyModule_GetDict(module); 646 CCoreShellEllipsoidModelError = PyErr_NewException("CCoreShellEllipsoidModel.error", NULL, NULL); 646 static char error_name[] = "CCoreShellEllipsoidModel.error"; 647 CCoreShellEllipsoidModelError = PyErr_NewException(error_name, NULL, NULL); 647 648 PyDict_SetItemString(d, "CCoreShellEllipsoidModelError", CCoreShellEllipsoidModelError); 648 649 } -
sansmodels/src/sans/models/c_models/CCoreShellModel.cpp
r00c2141 r2605da22 572 572 573 573 d = PyModule_GetDict(module); 574 CCoreShellModelError = PyErr_NewException("CCoreShellModel.error", NULL, NULL); 574 static char error_name[] = "CCoreShellModel.error"; 575 CCoreShellModelError = PyErr_NewException(error_name, NULL, NULL); 575 576 PyDict_SetItemString(d, "CCoreShellModelError", CCoreShellModelError); 576 577 } -
sansmodels/src/sans/models/c_models/CCylinderModel.cpp
r00c2141 r2605da22 603 603 604 604 d = PyModule_GetDict(module); 605 CCylinderModelError = PyErr_NewException("CCylinderModel.error", NULL, NULL); 605 static char error_name[] = "CCylinderModel.error"; 606 CCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 606 607 PyDict_SetItemString(d, "CCylinderModelError", CCylinderModelError); 607 608 } -
sansmodels/src/sans/models/c_models/CDiamCylFunc.cpp
r00c2141 r2605da22 547 547 548 548 d = PyModule_GetDict(module); 549 CDiamCylFuncError = PyErr_NewException("CDiamCylFunc.error", NULL, NULL); 549 static char error_name[] = "CDiamCylFunc.error"; 550 CDiamCylFuncError = PyErr_NewException(error_name, NULL, NULL); 550 551 PyDict_SetItemString(d, "CDiamCylFuncError", CDiamCylFuncError); 551 552 } -
sansmodels/src/sans/models/c_models/CDiamEllipFunc.cpp
r00c2141 r2605da22 547 547 548 548 d = PyModule_GetDict(module); 549 CDiamEllipFuncError = PyErr_NewException("CDiamEllipFunc.error", NULL, NULL); 549 static char error_name[] = "CDiamEllipFunc.error"; 550 CDiamEllipFuncError = PyErr_NewException(error_name, NULL, NULL); 550 551 PyDict_SetItemString(d, "CDiamEllipFuncError", CDiamEllipFuncError); 551 552 } -
sansmodels/src/sans/models/c_models/CEllipsoidModel.cpp
r00c2141 r2605da22 603 603 604 604 d = PyModule_GetDict(module); 605 CEllipsoidModelError = PyErr_NewException("CEllipsoidModel.error", NULL, NULL); 605 static char error_name[] = "CEllipsoidModel.error"; 606 CEllipsoidModelError = PyErr_NewException(error_name, NULL, NULL); 606 607 PyDict_SetItemString(d, "CEllipsoidModelError", CEllipsoidModelError); 607 608 } -
sansmodels/src/sans/models/c_models/CEllipticalCylinderModel.cpp
r00c2141 r2605da22 639 639 640 640 d = PyModule_GetDict(module); 641 CEllipticalCylinderModelError = PyErr_NewException("CEllipticalCylinderModel.error", NULL, NULL); 641 static char error_name[] = "CEllipticalCylinderModel.error"; 642 CEllipticalCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 642 643 PyDict_SetItemString(d, "CEllipticalCylinderModelError", CEllipticalCylinderModelError); 643 644 } -
sansmodels/src/sans/models/c_models/CFCCrystalModel.cpp
r00c2141 r2605da22 613 613 614 614 d = PyModule_GetDict(module); 615 CFCCrystalModelError = PyErr_NewException("CFCCrystalModel.error", NULL, NULL); 615 static char error_name[] = "CFCCrystalModel.error"; 616 CFCCrystalModelError = PyErr_NewException(error_name, NULL, NULL); 616 617 PyDict_SetItemString(d, "CFCCrystalModelError", CFCCrystalModelError); 617 618 } -
sansmodels/src/sans/models/c_models/CFlexCylEllipXModel.cpp
r00c2141 r2605da22 603 603 604 604 d = PyModule_GetDict(module); 605 CFlexCylEllipXModelError = PyErr_NewException("CFlexCylEllipXModel.error", NULL, NULL); 605 static char error_name[] = "CFlexCylEllipXModel.error"; 606 CFlexCylEllipXModelError = PyErr_NewException(error_name, NULL, NULL); 606 607 PyDict_SetItemString(d, "CFlexCylEllipXModelError", CFlexCylEllipXModelError); 607 608 } -
sansmodels/src/sans/models/c_models/CFlexibleCylinderModel.cpp
r00c2141 r2605da22 585 585 586 586 d = PyModule_GetDict(module); 587 CFlexibleCylinderModelError = PyErr_NewException("CFlexibleCylinderModel.error", NULL, NULL); 587 static char error_name[] = "CFlexibleCylinderModel.error"; 588 CFlexibleCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 588 589 PyDict_SetItemString(d, "CFlexibleCylinderModelError", CFlexibleCylinderModelError); 589 590 } -
sansmodels/src/sans/models/c_models/CFractalModel.cpp
r00c2141 r2605da22 559 559 560 560 d = PyModule_GetDict(module); 561 CFractalModelError = PyErr_NewException("CFractalModel.error", NULL, NULL); 561 static char error_name[] = "CFractalModel.error"; 562 CFractalModelError = PyErr_NewException(error_name, NULL, NULL); 562 563 PyDict_SetItemString(d, "CFractalModelError", CFractalModelError); 563 564 } -
sansmodels/src/sans/models/c_models/CFuzzySphereModel.cpp
r00c2141 r2605da22 567 567 568 568 d = PyModule_GetDict(module); 569 CFuzzySphereModelError = PyErr_NewException("CFuzzySphereModel.error", NULL, NULL); 569 static char error_name[] = "CFuzzySphereModel.error"; 570 CFuzzySphereModelError = PyErr_NewException(error_name, NULL, NULL); 570 571 PyDict_SetItemString(d, "CFuzzySphereModelError", CFuzzySphereModelError); 571 572 } -
sansmodels/src/sans/models/c_models/CGaussian.cpp
r00c2141 r2605da22 526 526 527 527 d = PyModule_GetDict(module); 528 CGaussianError = PyErr_NewException("CGaussian.error", NULL, NULL); 528 static char error_name[] = "CGaussian.error"; 529 CGaussianError = PyErr_NewException(error_name, NULL, NULL); 529 530 PyDict_SetItemString(d, "CGaussianError", CGaussianError); 530 531 } -
sansmodels/src/sans/models/c_models/CHardsphereStructure.cpp
r00c2141 r2605da22 534 534 535 535 d = PyModule_GetDict(module); 536 CHardsphereStructureError = PyErr_NewException("CHardsphereStructure.error", NULL, NULL); 536 static char error_name[] = "CHardsphereStructure.error"; 537 CHardsphereStructureError = PyErr_NewException(error_name, NULL, NULL); 537 538 PyDict_SetItemString(d, "CHardsphereStructureError", CHardsphereStructureError); 538 539 } -
sansmodels/src/sans/models/c_models/CHayterMSAStructure.cpp
r00c2141 r2605da22 554 554 555 555 d = PyModule_GetDict(module); 556 CHayterMSAStructureError = PyErr_NewException("CHayterMSAStructure.error", NULL, NULL); 556 static char error_name[] = "CHayterMSAStructure.error"; 557 CHayterMSAStructureError = PyErr_NewException(error_name, NULL, NULL); 557 558 PyDict_SetItemString(d, "CHayterMSAStructureError", CHayterMSAStructureError); 558 559 } -
sansmodels/src/sans/models/c_models/CHollowCylinderModel.cpp
r00c2141 r2605da22 621 621 622 622 d = PyModule_GetDict(module); 623 CHollowCylinderModelError = PyErr_NewException("CHollowCylinderModel.error", NULL, NULL); 623 static char error_name[] = "CHollowCylinderModel.error"; 624 CHollowCylinderModelError = PyErr_NewException(error_name, NULL, NULL); 624 625 PyDict_SetItemString(d, "CHollowCylinderModelError", CHollowCylinderModelError); 625 626 } -
sansmodels/src/sans/models/c_models/CLamellarFFHGModel.cpp
r00c2141 r2605da22 572 572 573 573 d = PyModule_GetDict(module); 574 CLamellarFFHGModelError = PyErr_NewException("CLamellarFFHGModel.error", NULL, NULL); 574 static char error_name[] = "CLamellarFFHGModel.error"; 575 CLamellarFFHGModelError = PyErr_NewException(error_name, NULL, NULL); 575 576 PyDict_SetItemString(d, "CLamellarFFHGModelError", CLamellarFFHGModelError); 576 577 } -
sansmodels/src/sans/models/c_models/CLamellarModel.cpp
r00c2141 r2605da22 549 549 550 550 d = PyModule_GetDict(module); 551 CLamellarModelError = PyErr_NewException("CLamellarModel.error", NULL, NULL); 551 static char error_name[] = "CLamellarModel.error"; 552 CLamellarModelError = PyErr_NewException(error_name, NULL, NULL); 552 553 PyDict_SetItemString(d, "CLamellarModelError", CLamellarModelError); 553 554 } -
sansmodels/src/sans/models/c_models/CLamellarPCrystalModel.cpp
r00c2141 r2605da22 564 564 565 565 d = PyModule_GetDict(module); 566 CLamellarPCrystalModelError = PyErr_NewException("CLamellarPCrystalModel.error", NULL, NULL); 566 static char error_name[] = "CLamellarPCrystalModel.error"; 567 CLamellarPCrystalModelError = PyErr_NewException(error_name, NULL, NULL); 567 568 PyDict_SetItemString(d, "CLamellarPCrystalModelError", CLamellarPCrystalModelError); 568 569 } -
sansmodels/src/sans/models/c_models/CLamellarPSHGModel.cpp
r00c2141 r2605da22 600 600 601 601 d = PyModule_GetDict(module); 602 CLamellarPSHGModelError = PyErr_NewException("CLamellarPSHGModel.error", NULL, NULL); 602 static char error_name[] = "CLamellarPSHGModel.error"; 603 CLamellarPSHGModelError = PyErr_NewException(error_name, NULL, NULL); 603 604 PyDict_SetItemString(d, "CLamellarPSHGModelError", CLamellarPSHGModelError); 604 605 } -
sansmodels/src/sans/models/c_models/CLamellarPSModel.cpp
r00c2141 r2605da22 577 577 578 578 d = PyModule_GetDict(module); 579 CLamellarPSModelError = PyErr_NewException("CLamellarPSModel.error", NULL, NULL); 579 static char error_name[] = "CLamellarPSModel.error"; 580 CLamellarPSModelError = PyErr_NewException(error_name, NULL, NULL); 580 581 PyDict_SetItemString(d, "CLamellarPSModelError", CLamellarPSModelError); 581 582 } -
sansmodels/src/sans/models/c_models/CLogNormal.cpp
r00c2141 r2605da22 526 526 527 527 d = PyModule_GetDict(module); 528 CLogNormalError = PyErr_NewException("CLogNormal.error", NULL, NULL); 528 static char error_name[] = "CLogNormal.error"; 529 CLogNormalError = PyErr_NewException(error_name, NULL, NULL); 529 530 PyDict_SetItemString(d, "CLogNormalError", CLogNormalError); 530 531 } -
sansmodels/src/sans/models/c_models/CLorentzian.cpp
r00c2141 r2605da22 526 526 527 527 d = PyModule_GetDict(module); 528 CLorentzianError = PyErr_NewException("CLorentzian.error", NULL, NULL); 528 static char error_name[] = "CLorentzian.error"; 529 CLorentzianError = PyErr_NewException(error_name, NULL, NULL); 529 530 PyDict_SetItemString(d, "CLorentzianError", CLorentzianError); 530 531 } -
sansmodels/src/sans/models/c_models/CMultiShellModel.cpp
r00c2141 r2605da22 590 590 591 591 d = PyModule_GetDict(module); 592 CMultiShellModelError = PyErr_NewException("CMultiShellModel.error", NULL, NULL); 592 static char error_name[] = "CMultiShellModel.error"; 593 CMultiShellModelError = PyErr_NewException(error_name, NULL, NULL); 593 594 PyDict_SetItemString(d, "CMultiShellModelError", CMultiShellModelError); 594 595 } -
sansmodels/src/sans/models/c_models/COnionModel.cpp
r00c2141 r2605da22 934 934 935 935 d = PyModule_GetDict(module); 936 COnionModelError = PyErr_NewException("COnionModel.error", NULL, NULL); 936 static char error_name[] = "COnionModel.error"; 937 COnionModelError = PyErr_NewException(error_name, NULL, NULL); 937 938 PyDict_SetItemString(d, "COnionModelError", COnionModelError); 938 939 } -
sansmodels/src/sans/models/c_models/CParallelepipedModel.cpp
r00c2141 r2605da22 639 639 640 640 d = PyModule_GetDict(module); 641 CParallelepipedModelError = PyErr_NewException("CParallelepipedModel.error", NULL, NULL); 641 static char error_name[] = "CParallelepipedModel.error"; 642 CParallelepipedModelError = PyErr_NewException(error_name, NULL, NULL); 642 643 PyDict_SetItemString(d, "CParallelepipedModelError", CParallelepipedModelError); 643 644 } -
sansmodels/src/sans/models/c_models/CPearlNecklaceModel.cpp
r00c2141 r2605da22 582 582 583 583 d = PyModule_GetDict(module); 584 CPearlNecklaceModelError = PyErr_NewException("CPearlNecklaceModel.error", NULL, NULL); 584 static char error_name[] = "CPearlNecklaceModel.error"; 585 CPearlNecklaceModelError = PyErr_NewException(error_name, NULL, NULL); 585 586 PyDict_SetItemString(d, "CPearlNecklaceModelError", CPearlNecklaceModelError); 586 587 } -
sansmodels/src/sans/models/c_models/CPoly_GaussCoil.cpp
r00c2141 r2605da22 544 544 545 545 d = PyModule_GetDict(module); 546 CPoly_GaussCoilError = PyErr_NewException("CPoly_GaussCoil.error", NULL, NULL); 546 static char error_name[] = "CPoly_GaussCoil.error"; 547 CPoly_GaussCoilError = PyErr_NewException(error_name, NULL, NULL); 547 548 PyDict_SetItemString(d, "CPoly_GaussCoilError", CPoly_GaussCoilError); 548 549 } -
sansmodels/src/sans/models/c_models/CRPAModel.cpp
r00c2141 r2605da22 669 669 670 670 d = PyModule_GetDict(module); 671 CRPAModelError = PyErr_NewException("CRPAModel.error", NULL, NULL); 671 static char error_name[] = "CRPAModel.error"; 672 CRPAModelError = PyErr_NewException(error_name, NULL, NULL); 672 673 PyDict_SetItemString(d, "CRPAModelError", CRPAModelError); 673 674 } -
sansmodels/src/sans/models/c_models/CReflAdvModel.cpp
r00c2141 r2605da22 879 879 880 880 d = PyModule_GetDict(module); 881 CReflAdvModelError = PyErr_NewException("CReflAdvModel.error", NULL, NULL); 881 static char error_name[] = "CReflAdvModel.error"; 882 CReflAdvModelError = PyErr_NewException(error_name, NULL, NULL); 882 883 PyDict_SetItemString(d, "CReflAdvModelError", CReflAdvModelError); 883 884 } -
sansmodels/src/sans/models/c_models/CReflModel.cpp
r00c2141 r2605da22 759 759 760 760 d = PyModule_GetDict(module); 761 CReflModelError = PyErr_NewException("CReflModel.error", NULL, NULL); 761 static char error_name[] = "CReflModel.error"; 762 CReflModelError = PyErr_NewException(error_name, NULL, NULL); 762 763 PyDict_SetItemString(d, "CReflModelError", CReflModelError); 763 764 } -
sansmodels/src/sans/models/c_models/CSCCrystalModel.cpp
r00c2141 r2605da22 613 613 614 614 d = PyModule_GetDict(module); 615 CSCCrystalModelError = PyErr_NewException("CSCCrystalModel.error", NULL, NULL); 615 static char error_name[] = "CSCCrystalModel.error"; 616 CSCCrystalModelError = PyErr_NewException(error_name, NULL, NULL); 616 617 PyDict_SetItemString(d, "CSCCrystalModelError", CSCCrystalModelError); 617 618 } -
sansmodels/src/sans/models/c_models/CSLDCalFunc.cpp
r00c2141 r2605da22 554 554 555 555 d = PyModule_GetDict(module); 556 CSLDCalFuncError = PyErr_NewException("CSLDCalFunc.error", NULL, NULL); 556 static char error_name[] = "CSLDCalFunc.error"; 557 CSLDCalFuncError = PyErr_NewException(error_name, NULL, NULL); 557 558 PyDict_SetItemString(d, "CSLDCalFuncError", CSLDCalFuncError); 558 559 } -
sansmodels/src/sans/models/c_models/CSchulz.cpp
r00c2141 r2605da22 526 526 527 527 d = PyModule_GetDict(module); 528 CSchulzError = PyErr_NewException("CSchulz.error", NULL, NULL); 528 static char error_name[] = "CSchulz.error"; 529 CSchulzError = PyErr_NewException(error_name, NULL, NULL); 529 530 PyDict_SetItemString(d, "CSchulzError", CSchulzError); 530 531 } -
sansmodels/src/sans/models/c_models/CSphereModel.cpp
r00c2141 r2605da22 549 549 550 550 d = PyModule_GetDict(module); 551 CSphereModelError = PyErr_NewException("CSphereModel.error", NULL, NULL); 551 static char error_name[] = "CSphereModel.error"; 552 CSphereModelError = PyErr_NewException(error_name, NULL, NULL); 552 553 PyDict_SetItemString(d, "CSphereModelError", CSphereModelError); 553 554 } -
sansmodels/src/sans/models/c_models/CSphereSLDModel.cpp
r00c2141 r2605da22 837 837 838 838 d = PyModule_GetDict(module); 839 CSphereSLDModelError = PyErr_NewException("CSphereSLDModel.error", NULL, NULL); 839 static char error_name[] = "CSphereSLDModel.error"; 840 CSphereSLDModelError = PyErr_NewException(error_name, NULL, NULL); 840 841 PyDict_SetItemString(d, "CSphereSLDModelError", CSphereSLDModelError); 841 842 } -
sansmodels/src/sans/models/c_models/CSquareWellStructure.cpp
r00c2141 r2605da22 544 544 545 545 d = PyModule_GetDict(module); 546 CSquareWellStructureError = PyErr_NewException("CSquareWellStructure.error", NULL, NULL); 546 static char error_name[] = "CSquareWellStructure.error"; 547 CSquareWellStructureError = PyErr_NewException(error_name, NULL, NULL); 547 548 PyDict_SetItemString(d, "CSquareWellStructureError", CSquareWellStructureError); 548 549 } -
sansmodels/src/sans/models/c_models/CStackedDisksModel.cpp
r00c2141 r2605da22 636 636 637 637 d = PyModule_GetDict(module); 638 CStackedDisksModelError = PyErr_NewException("CStackedDisksModel.error", NULL, NULL); 638 static char error_name[] = "CStackedDisksModel.error"; 639 CStackedDisksModelError = PyErr_NewException(error_name, NULL, NULL); 639 640 PyDict_SetItemString(d, "CStackedDisksModelError", CStackedDisksModelError); 640 641 } -
sansmodels/src/sans/models/c_models/CStickyHSStructure.cpp
r00c2141 r2605da22 544 544 545 545 d = PyModule_GetDict(module); 546 CStickyHSStructureError = PyErr_NewException("CStickyHSStructure.error", NULL, NULL); 546 static char error_name[] = "CStickyHSStructure.error"; 547 CStickyHSStructureError = PyErr_NewException(error_name, NULL, NULL); 547 548 PyDict_SetItemString(d, "CStickyHSStructureError", CStickyHSStructureError); 548 549 } -
sansmodels/src/sans/models/c_models/CTriaxialEllipsoidModel.cpp
r00c2141 r2605da22 639 639 640 640 d = PyModule_GetDict(module); 641 CTriaxialEllipsoidModelError = PyErr_NewException("CTriaxialEllipsoidModel.error", NULL, NULL); 641 static char error_name[] = "CTriaxialEllipsoidModel.error"; 642 CTriaxialEllipsoidModelError = PyErr_NewException(error_name, NULL, NULL); 642 643 PyDict_SetItemString(d, "CTriaxialEllipsoidModelError", CTriaxialEllipsoidModelError); 643 644 } -
sansmodels/src/sans/models/c_models/CVesicleModel.cpp
r00c2141 r2605da22 567 567 568 568 d = PyModule_GetDict(module); 569 CVesicleModelError = PyErr_NewException("CVesicleModel.error", NULL, NULL); 569 static char error_name[] = "CVesicleModel.error"; 570 CVesicleModelError = PyErr_NewException(error_name, NULL, NULL); 570 571 PyDict_SetItemString(d, "CVesicleModelError", CVesicleModelError); 571 572 } -
sansmodels/src/sans/models/c_models/classTemplate.txt
r00c2141 r2605da22 486 486 487 487 d = PyModule_GetDict(module); 488 [PYTHONCLASS]Error = PyErr_NewException("[PYTHONCLASS].error", NULL, NULL); 488 static char error_name[] = "[PYTHONCLASS].error"; 489 [PYTHONCLASS]Error = PyErr_NewException(error_name, NULL, NULL); 489 490 PyDict_SetItemString(d, "[PYTHONCLASS]Error", [PYTHONCLASS]Error); 490 491 }
Note: See TracChangeset
for help on using the changeset viewer.