Move capn_init_* all into capn-malloc.c with a common create and free function
This commit is contained in:
parent
c5e771dcd0
commit
f99af86cb3
5 changed files with 132 additions and 132 deletions
|
|
@ -15,7 +15,7 @@ union AlignedData {
|
|||
class Session {
|
||||
public:
|
||||
Session() {capn_init_malloc(&capn);}
|
||||
~Session() {capn_free_malloc(&capn);}
|
||||
~Session() {capn_free(&capn);}
|
||||
struct capn capn;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue