Adobe.com
Contents Suites Classes Class Index Member Index

SPBlocks.h

Go to the documentation of this file.
00001 /***********************************************************************/
00002 /*                                                                     */
00003 /* SPBlocks.h                                                          */
00004 /*                                                                     */
00005 /* ADOBE SYSTEMS INCORPORATED                                          */
00006 /* Copyright 1995-2007 Adobe Systems Incorporated.                     */
00007 /* All Rights Reserved.                                                */
00008 /*                                                                     */
00009 /* NOTICE:  Adobe permits you to use, modify, and distribute this file */
00010 /* in accordance with the terms of the Adobe license agreement         */
00011 /* accompanying it. If you have received this file from a source other */
00012 /* than Adobe, then your use, modification, or distribution of it      */
00013 /* requires the prior written permission of Adobe.                     */
00014 /*                                                                     */
00015 /* Patents Pending                                                     */
00016 /*                                                                     */
00017 /*                                                                     */
00018 /***********************************************************************/
00019 
00020 #ifndef __SPBlocks__
00021 #define __SPBlocks__
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #include "SPTypes.h"
00031 
00032 #include "SPHeaderBegin.h"
00033 
00034 #ifdef __cplusplus
00035 extern "C" {
00036 #endif
00037 
00038 
00039 /*******************************************************************************
00040  **
00041  **     Constants
00042  **
00043  **/
00045 #define kSPBlocksSuite                          "SP Blocks Suite"
00046 
00047 #define kSPBlocksSuiteVersion           2
00048 
00049 
00050 /*******************************************************************************
00051  **
00052  **     Suite
00053  **
00054  **/
00067 typedef struct SPBlocksSuite {
00068 
00077         SPAPI SPErr (*AllocateBlock)( size_t size, const char *debug, void **block );
00082         SPAPI SPErr (*FreeBlock)( void *block );
00093         SPAPI SPErr (*ReallocateBlock)( void *block, size_t newSize, const char *debug, void **rblock );
00094 
00095 } SPBlocksSuite;
00096 
00098 SPAPI SPErr SPAllocateBlock( size_t size, const char *debug, void **block );
00100 SPAPI SPErr SPFreeBlock( void *block );
00102 SPAPI SPErr SPReallocateBlock( void *block, size_t newSize, const char *debug, void **rblock );
00103 
00104 
00105 /*******************************************************************************
00106  **
00107  **     Errors
00108  **
00109  **/
00110 
00111 #include "SPErrorCodes.h"
00112 
00113 #ifdef __cplusplus
00114 }
00115 #endif
00116 
00117 #include "SPHeaderEnd.h"
00118 
00119 #endif


Contents Suites Classes Class Index Member Index
Adobe Solutions Network
 
Copyright © 2016 Adobe Systems Incorporated. All rights reserved.
Terms of Use Online Privacy Policy Adobe and accessibility Avoid software piracy Permissions and Trademarks