OWLNext    7.0
Borland's Object Windows Library for the modern age
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
memory.cpp File Reference

Implementation of memory manipulation functions. More...

#include <owl/pch.h>
#include <owl/defs.h>
#include <owl/private/memory.h>
#include <owl/template.h>

Go to the source code of this file.

Namespaces

namespace  owl
 Object Windows Library (OWLNext Core)
 

Functions

charstrnewdup (const char *s, size_t allocSize)
 
wchar_tstrnewdup (const wchar_t *s, size_t allocSize)
 

Detailed Description

Implementation of memory manipulation functions.

Definition in file memory.cpp.

Function Documentation

◆ strnewdup() [1/2]

char * strnewdup ( const char * s,
size_t allocSize )

Definition at line 25 of file memory.cpp.

◆ strnewdup() [2/2]

wchar_t * strnewdup ( const wchar_t * s,
size_t allocSize )

Definition at line 69 of file memory.cpp.

References wcslen().