Commit 30267bf
committed
Fix (harmless) ODR warnings in symengine.r
- remove #ifdef type switch in cwrapper: basic_struct is now always CRCPBasic_C
- previously it was CRCPBasic in the cwrapper and CRCPBasic_C everywhere else
- add basic_rcp helper to cast CRCPBasic_C to CRCPBasic
- without the #ifdef type switch we now need to explicitly do this cast in cwrapper
- `s->m` -> `basic_rcp(s)`1 parent 622fc2d commit 30267bfCopy full SHA for 30267bf
2 files changed
+299-256Lines changed: 299 additions & 256 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- symengine
Expand file treeCollapse file tree
Open diff view settings
0 commit comments