Skip to content
Commit 164eb8d3 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

Small consistency fix in wrapper

I changed Plumed::invalid() to Plumed::makeInvalid() and added a new function
Plumed::makeValid(). These names are more inline with stdlib names
(e.g. make_shared), though with our conventions for capitalization.

Hopefully there's no code yet using this (beta) interface.

In addition, I made it possible to use a macro to change the behavior
of the default constructor to makeInvalid(). This might be
useful in python wrappers to avoid opening the library twice
(python objects always use the "nullary" - default - constructor first).
parent f328b57f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment