mirror of
https://github.com/strophe/libstrophe.git
synced 2026-07-27 15:46:22 +00:00
Stanza object creation/deletion now uses the context, but must be done with
a factory function.
This commit is contained in:
@@ -40,11 +40,12 @@ namespace XMPP {
|
||||
xmpp_stanza_t *m_stanza;
|
||||
|
||||
void *operator new(size_t size, Context *ctx);
|
||||
void operator delete(void *p, Context *ctx);
|
||||
void operator delete(void *p);
|
||||
Stanza(Context *ctx);
|
||||
virtual ~Stanza();
|
||||
|
||||
public:
|
||||
static Stanza *create(Context *ctx);
|
||||
void release();
|
||||
Stanza *clone();
|
||||
Stanza *copy();
|
||||
|
||||
Reference in New Issue
Block a user