diff options
Diffstat (limited to 'salhelper/test/Symbols/samplelib.cxx')
-rw-r--r-- | salhelper/test/Symbols/samplelib.cxx | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/salhelper/test/Symbols/samplelib.cxx b/salhelper/test/Symbols/samplelib.cxx deleted file mode 100644 index edc76fa5a..000000000 --- a/salhelper/test/Symbols/samplelib.cxx +++ /dev/null @@ -1,39 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -#include "samplelib.hxx" -#include <sal/types.h> -/* - - -*/ - -extern "C" -SampleLib_Api* SAL_CALL initSampleLibApi(void) -{ - static SampleLib_Api aApi= {0,0}; - if (!aApi.funcA) - { - aApi.funcA= &funcA; - aApi.funcB= &funcB; - return (&aApi); - } - else - { - return (&aApi); - } - -} - - -sal_Int32 SAL_CALL funcA( sal_Int32 a) -{ - return a; -} - - -double SAL_CALL funcB( double a) -{ - return a; -} - - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ |