~ubuntu-branches/debian/jessie/eso-midas/jessie

« back to all changes in this revision

Viewing changes to gui/GraphLib/libsrc/uimxR5/include/valloc.h

  • Committer: Package Import Robot
  • Author(s): Ole Streicher
  • Date: 2014-04-22 14:44:58 UTC
  • Revision ID: package-import@ubuntu.com-20140422144458-okiwi1assxkkiz39
Tags: upstream-13.09pl1.2+dfsg
ImportĀ upstreamĀ versionĀ 13.09pl1.2+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/* @(#)valloc.h 17.1 (ESO-IPG) 01/25/02 17:26:06 */
 
2
/*---------------------------------------------------------------------
 
3
 * $Date: 2003-06-04 14:49:18 $             $Revision: 1.1.1.1 $
 
4
 *---------------------------------------------------------------------
 
5
 * 
 
6
 *
 
7
 *             Copyright (c) 1992, Visual Edge Software Ltd.
 
8
 *
 
9
 * ALL  RIGHTS  RESERVED.  Permission  to  use,  copy,  modify,  and
 
10
 * distribute  this  software  and its documentation for any purpose
 
11
 * and  without  fee  is  hereby  granted,  provided  that the above
 
12
 * copyright  notice  appear  in  all  copies  and  that  both  that
 
13
 * copyright  notice and this permission notice appear in supporting
 
14
 * documentation,  and that  the name of Visual Edge Software not be
 
15
 * used  in advertising  or publicity  pertaining to distribution of
 
16
 * the software without specific, written prior permission. The year
 
17
 * included in the notice is the year of the creation of the work.
 
18
 *-------------------------------------------------------------------*/
 
19
 
 
20
#ifndef _VALLOC_INCLUDED
 
21
#define _VALLOC_INCLUDED
 
22
 
 
23
#include "uxproto.h"
 
24
 
 
25
#ifdef __cplusplus
 
26
extern "C" {
 
27
#endif /* __cplusplus */
 
28
 
 
29
extern void     *UxMalloc UXPROTO(( unsigned int ));
 
30
extern void     *UxCalloc UXPROTO(( unsigned int, unsigned int ));
 
31
extern void     *UxRealloc UXPROTO(( void *, unsigned int ));
 
32
extern void     UxFree UXPROTO(( void * ));
 
33
extern char     *UxCopyString UXPROTO(( char * )); 
 
34
 
 
35
#define UxNEW(type)     ((type*) UxMalloc(sizeof(type)))
 
36
 
 
37
#ifdef __cplusplus
 
38
}  /* Close scope of 'extern "C"' declaration which encloses file. */
 
39
#endif /* __cplusplus */
 
40
 
 
41
        
 
42
#endif /* _VALLOC_INCLUDED */