Adobe.com
Contents Suites Classes Class Index Member Index

AIBlock.h

Go to the documentation of this file.
00001 #ifndef __AIBlock__
00002 #define __AIBlock__
00003 
00004 /*
00005  *        Name: AIBlock.h
00006  *   $Revision: 5 $
00007  *      Author:
00008  *        Date:
00009  *     Purpose: Adobe Illustrator Memory Management Suite.
00010  *
00011  * ADOBE SYSTEMS INCORPORATED
00012  * Copyright 1986-2007 Adobe Systems Incorporated.
00013  * All rights reserved.
00014  *
00015  * NOTICE:  Adobe permits you to use, modify, and distribute this file 
00016  * in accordance with the terms of the Adobe license agreement 
00017  * accompanying it. If you have received this file from a source other 
00018  * than Adobe, then your use, modification, or distribution of it 
00019  * requires the prior written permission of Adobe.
00020  *
00021  */
00022 
00023 
00024 /*******************************************************************************
00025  **
00026  **     Imports
00027  **
00028  **/
00029 
00030 #ifndef __AITypes__
00031 #include "AITypes.h"
00032 #endif
00033 
00034 
00035 #include "AIHeaderBegin.h"
00036 
00040 /*******************************************************************************
00041  **
00042  **     Constants
00043  **
00044  **/
00045 
00046 #define kAIBlockSuite                   "AI Block Suite"
00047 #define kAIBlockSuiteVersion    AIAPI_VERSION(4)
00048 #define kAIBlockVersion                 kAIBlockSuiteVersion
00049 
00050 /*******************************************************************************
00051  **
00052  **     Suite
00053  **
00054  **/
00055 
00067 typedef struct {
00077         AIAPI AIErr (*AllocateBlock) ( size_t size, void **block );
00083         AIAPI AIErr (*DisposeBlock) ( void *block );
00084 
00098         AIAPI AIErr (*ReallocateBlock) ( void *block, size_t newSize, void **newBlock );
00099 
00104         AIAPI AIErr (*SizeOfMemoryBlock) ( void *block, size_t *size );
00105 
00106 } AIBlockSuite;
00107 
00108 
00109 #include "AIHeaderEnd.h"
00110 
00111 
00112 #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