1 #ifndef __SAMPLELIB_HXX_ 2 #define __SAMPLELIB_HXX_ 3 4 #include <sal/types.h> 5 6 struct SampleLib_Api 7 { 8 sal_Int32 (SAL_CALL *funcA)( sal_Int32 ); 9 double (SAL_CALL *funcB)( double ); 10 }; 11 12 13 typedef SampleLib_Api* (SAL_CALL *InitSampleLib_Api)(void); 14 15 #define SAMPLELIB_INIT_FUNCTION_NAME "initSampleLibApi" 16 17 18 sal_Int32 SAL_CALL funcA( sal_Int32 a); 19 double SAL_CALL funcB( double a); 20 21 22 #endif 23