memory allocation and C++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, Aug 5, 2008 at 8:41 PM, Brocha Strous <Brocha.Strous at kayote.com>wrote:

>  Hello,
>
> In the documentation it says "You MUST NOT use *malloc()* or any other
> memory allocation functions." ? if I am planning on writing some of my
> application code in C++ can I safely use new/delete? If I am compiling in
> third-party libraries that may be using malloc/free or new/delete  will this
> cause a problem?
>
>
>
It's safe to use new/delete or malloc/free in your application, and yes
malloc/delete is used by some of the third party libraries anyway. It's just
that pjlib won't be able to help with regard to portability if we use it.

Cheers
 Benny
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.pjsip.org/pipermail/pjsip_lists.pjsip.org/attachments/20080805/1ef21dee/attachment.html 


[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux