OpendTect-6_4  6.4
gendefs.h
Go to the documentation of this file.
1 #ifndef gendefs_h
2 #define gendefs_h
3 
4 /*+
5 ________________________________________________________________________
6 
7  (C) dGB Beheer B.V.; (LICENSE) http://opendtect.org/OpendTect_license.txt
8  Author: Bert
9  Date: Sep 1995
10  RCS: $Id$
11 ________________________________________________________________________
12 
13  This file contains general defines that are so basic they can (read: MUST)
14  be used in any source file. If you have no include anywhere in your header
15  or source file, include this one.
16 
17  undefval.h includes plftypes.h which includes plfdefs.h. Thus, every single
18  source file in OD is dep on:
19 
20  plfdefs.h
21  plftypes.h
22  undefval.h
23  commondefs.h
24  commontypes.h
25  errmsg.h
26  gendefs.h
27 
28 -*/
29 
30 #ifndef undefval_h
31 # include "undefval.h"
32 #endif
33 #ifndef commontypes_h
34 #include "commontypes.h"
35 #endif
36 #ifndef errmsg_h
37 #include "errmsg.h"
38 #endif
39 
40 #ifdef __cpp__
41 
42 namespace OD
43 {
44  // For guaranteed small or large operations: consider using odmemory.h
45 
46  // If you are in parallel execution, use sysMemCopy, sysMemSet, sysMemZero
47 
49  mGlobal(Basic) void memCopy(void*,const void*,od_int64);
51  mGlobal(Basic) void memSet(void*,char,od_int64);
53  mGlobal(Basic) void memZero(void*,od_int64);
55  mGlobal(Basic) void memMove(void*,const void*,od_int64);
56 
57 }
58 
59 #endif
60 
61 
62 #endif
#define mGlobal(module)
Definition: commondefs.h:163
#define od_int64
Definition: plftypes.h:36
OpendTect.
Definition: commontypes.h:29

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B. V. 2019