[Python] Fix declarations of some methods which can throw exceptions
This commit is contained in:
parent
658ce5d73b
commit
646654b7d0
1 changed files with 3 additions and 3 deletions
|
|
@ -214,15 +214,15 @@ cdef extern from "cantera/thermo/SurfPhase.h":
|
|||
cdef cppclass CxxSurfPhase "Cantera::SurfPhase":
|
||||
CxxSurfPhase()
|
||||
double siteDensity()
|
||||
void setSiteDensity(double)
|
||||
void setSiteDensity(double) except +
|
||||
void setCoverages(double*) except +
|
||||
void setCoveragesByName(Composition&) except +
|
||||
void getCoverages(double*) except +
|
||||
|
||||
|
||||
cdef extern from "cantera/kinetics/Reaction.h" namespace "Cantera":
|
||||
cdef shared_ptr[CxxReaction] CxxNewReaction "newReaction" (XML_Node&)
|
||||
cdef vector[shared_ptr[CxxReaction]] CxxGetReactions "getReactions" (XML_Node&)
|
||||
cdef shared_ptr[CxxReaction] CxxNewReaction "newReaction" (XML_Node&) except +
|
||||
cdef vector[shared_ptr[CxxReaction]] CxxGetReactions "getReactions" (XML_Node&) except +
|
||||
|
||||
cdef cppclass CxxArrhenius "Cantera::Arrhenius":
|
||||
CxxArrhenius()
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue