mirror of
https://codeberg.org/scip/pcp.git
synced 2025-12-17 12:00:56 +01:00
C++ API changes+fixes:
- context is now a pointer to make sure there's only one all the time - fixed a couple of double free's - some minor bug fixes
This commit is contained in:
@@ -46,13 +46,13 @@ namespace pcp {
|
||||
class Vault {
|
||||
private:
|
||||
vault_t *V;
|
||||
PcpContext PTX;
|
||||
PcpContext *PTX;
|
||||
|
||||
public:
|
||||
// constructors
|
||||
Vault();
|
||||
Vault(PcpContext &P);
|
||||
Vault(PcpContext &P, std::string filename);
|
||||
Vault(PcpContext *P);
|
||||
Vault(PcpContext *P, std::string filename);
|
||||
|
||||
// destructor
|
||||
~Vault();
|
||||
|
||||
Reference in New Issue
Block a user