Author: post
Date: 2010-04-30 15:20:50 +0200 (Fri, 30 Apr 2010)
New Revision: 3362

Modified:
   trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp
Log:
Remove rawstudio dependency for all but the plugin API, that completely removes 
all glib datatypes, and we use built-ins or our own - a few function 
declarations fixed in the process.

Modified: trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp
===================================================================
--- trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp        2010-04-30 
11:55:07 UTC (rev 3361)
+++ trunk/plugins/load-rawspeed/rawstudio-plugin-api.cpp        2010-04-30 
13:20:50 UTC (rev 3362)
@@ -116,7 +116,7 @@
 
       if (cpp == 1) 
       {
-        BitBlt((guchar *)(GET_PIXEL(image,0,0)),image->pitch*2,
+        BitBlt((uchar8 *)(GET_PIXEL(image,0,0)),image->pitch*2,
           r->getData(0,0), r->pitch, r->bpp*r->dim.x, r->dim.y);
       } else 
       {
@@ -159,3 +159,8 @@
 }
 
 } /* extern "C" */
+
+int rawspeed_get_number_of_processor_cores()
+{
+       return rs_get_number_of_processor_cores();
+}


_______________________________________________
Rawstudio-commit mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-commit

Reply via email to