diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/m_netlib.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/m_netlib.h b/include/m_netlib.h index cc5fce541a..accc3db99e 100644 --- a/include/m_netlib.h +++ b/include/m_netlib.h @@ -541,6 +541,12 @@ protected: public:
__inline explicit NLHR_PTR(NETLIBHTTPREQUEST *p) : _p(p) {}
+ __inline explicit NLHR_PTR(INT_PTR i_p) : _p((NETLIBHTTPREQUEST*)i_p) {}
+
+ __inline NETLIBHTTPREQUEST* operator=(INT_PTR i_p)
+ {
+ return operator=((NETLIBHTTPREQUEST*)i_p);
+ }
__inline NETLIBHTTPREQUEST* operator=(NETLIBHTTPREQUEST *p)
{
if (_p)
|