/[escript]/trunk/escript/src/Dodgy.cpp
ViewVC logotype

Contents of /trunk/escript/src/Dodgy.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4154 - (show annotations)
Tue Jan 22 09:30:23 2013 UTC (6 years, 8 months ago) by jfenwick
File size: 745 byte(s)
Round 1 of copyright fixes
1
2 /*****************************************************************************
3 *
4 * Copyright (c) 2009-2013 by University of Queensland
5 * http://www.uq.edu.au
6 *
7 * Primary Business: Queensland, Australia
8 * Licensed under the Open Software License version 3.0
9 * http://www.opensource.org/licenses/osl-3.0.php
10 *
11 * Development until 2012 by Earth Systems Science Computational Center (ESSCC)
12 * Development since 2012 by School of Earth Sciences
13 *
14 *****************************************************************************/
15
16 #include "Dodgy.h"
17
18 namespace escript
19 {
20
21 binOpFnPtr binOpFnPtrFromVoidPtr(void* v)
22 {
23 return reinterpret_cast<binOpFnPtr>(v);
24
25 }
26
27
28
29
30 void* voidPtrFromBinOpFnPtr(binOpFnPtr f)
31 {
32
33 return reinterpret_cast<void*>(f);
34 }
35
36
37
38
39
40 }

  ViewVC Help
Powered by ViewVC 1.1.26