opennurbs_zlib_memory.cpp
Go to the documentation of this file.
00001 /* $NoKeywords: $ */
00002 /*
00003 //
00004 // Copyright (c) 1993-2012 Robert McNeel & Associates. All rights reserved.
00005 // OpenNURBS, Rhinoceros, and Rhino3D are registered trademarks of Robert
00006 // McNeel & Associates.
00007 //
00008 // THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT EXPRESS OR IMPLIED WARRANTY.
00009 // ALL IMPLIED WARRANTIES OF FITNESS FOR ANY PARTICULAR PURPOSE AND OF
00010 // MERCHANTABILITY ARE HEREBY DISCLAIMED.
00011 //                              
00012 // For complete openNURBS copyright information see <http://www.opennurbs.org>.
00013 //
00015 */
00016 
00017 #include "pcl/surface/3rdparty/opennurbs/opennurbs.h"
00018 
00019 // If you are using opennurbs as a statically linked library, then
00020 // you may make calls to the same zlib that opennurbs uses.  This
00021 // zlib is compiled with z_ symbol projectection.  All the necessary
00022 // header files are included by opennurbs.h.
00023 // 
00024 // If you are using opennurbs as a DLL or writing a Rhino plug-in
00025 // and you want to use the same zlib that opennurbs uses, then
00026 // compile opennurbs_zlib_memory.cpp (this file) into your application
00027 // and statically link with the zlib library. All the necessary
00028 // header files are included by opennurbs.h.
00029 
00030 
00031 voidpf zcalloc (voidpf, unsigned items, unsigned size)
00032 {
00033     return oncalloc(items, size);
00034 }
00035 
00036 void  zcfree (voidpf, voidpf ptr)
00037 {
00038     onfree(ptr);
00039 }


pcl
Author(s): Open Perception
autogenerated on Wed Aug 26 2015 15:27:03