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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26