SOURCES: libsap-c.patch (NEW) - export functions using C ABI
qboosh
qboosh at pld-linux.org
Sun Oct 29 14:09:03 CET 2006
Author: qboosh Date: Sun Oct 29 13:09:03 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- export functions using C ABI
---- Files affected:
SOURCES:
libsap-c.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libsap-c.patch
diff -u /dev/null SOURCES/libsap-c.patch:1.1
--- /dev/null Sun Oct 29 14:09:03 2006
+++ SOURCES/libsap-c.patch Sun Oct 29 14:08:58 2006
@@ -0,0 +1,14 @@
+--- sap.src/sapEngine.cpp.orig 2001-10-15 21:39:02.000000000 +0200
++++ sap.src/sapEngine.cpp 2006-10-29 14:03:13.189909750 +0100
+@@ -20,9 +20,11 @@
+ #pragma pack(pop)
+ #endif
+
++extern "C" {
+ sapMUSICstrc *sapLoadMusicFile( char *fname );
+ void sapPlaySong( int numOfSong );
+ void sapRenderBuffer( short int *buffer, int number_of_samples );
++}
+
+ namespace _SAP_internals_ {
+
================================================================
More information about the pld-cvs-commit
mailing list