• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2<html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
3<title>osclconfig_global_placement_new.h Source File</title>
4<link href="doxygen.css" rel="stylesheet" type="text/css">
5</head><body>
6<!-- Generated by Doxygen 1.2.18 -->
7<center>
8<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="modules.html">Modules</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="annotated.html">Data Structures</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Data Fields</a> &nbsp; <a class="qindex" href="globals.html">Globals</a> &nbsp; </center>
9<hr><h1>osclconfig_global_placement_new.h</h1><a href="osclconfig__global__placement__new_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <span class="preprocessor">#ifndef OSCLCONFIG_GLOBAL_PLACEMENT_NEW_H_INCLUDED</span>
1000002 <span class="preprocessor"></span><span class="preprocessor">#define OSCLCONFIG_GLOBAL_PLACEMENT_NEW_H_INCLUDED</span>
1100003 <span class="preprocessor"></span>
1200004 <span class="comment">//This file contains a definition of placement new operator</span>
1300005 <span class="comment">//for use in configurations without a native placement new</span>
1400006 <span class="comment">//operator definition.</span>
1500007
16<a name="l00008"></a><a class="code" href="osclconfig__global__placement__new_8h.html#a0">00008</a> <span class="keyword">inline</span> <span class="keywordtype">void</span>* <a class="code" href="oscl__mem_8h.html#a43">operator new</a>(size_t,<span class="keywordtype">void</span>* ptr)
1700009 {
1800010     <span class="keywordflow">return</span> ptr;
1900011 }
2000012
2100013
2200014 <span class="preprocessor">#endif</span>
23</pre></div><hr size="1"><img src="pvlogo_small.jpg"><address style="align: right;"><small>OSCL API</small>
24<address style="align: left;"><small>Posting Version: OPENCORE_20090310 </small>
25</small></address>
26</body>
27</html>
28