X-Git-Url: http://git.megacz.com/?p=org.ibex.core.git;a=blobdiff_plain;f=src%2Forg%2Fibex%2Fplat%2FGCJ.cc;fp=src%2Forg%2Fxwt%2Fplat%2FGCJ.cc;h=ca5aa9b2415c20c8e24c629e2b1e3480016f7f79;hp=5c355d36850f9cfbf3819ffbb92c14b7ccad1d3a;hb=3591b88b94a6bb378af3d4abe6eb5233ce583104;hpb=de378041d5ca2aca1a2b5a31ef15ae90a86c977f diff --git a/src/org/xwt/plat/GCJ.cc b/src/org/ibex/plat/GCJ.cc similarity index 92% rename from src/org/xwt/plat/GCJ.cc rename to src/org/ibex/plat/GCJ.cc index 5c355d3..ca5aa9b 100644 --- a/src/org/xwt/plat/GCJ.cc +++ b/src/org/ibex/plat/GCJ.cc @@ -14,27 +14,27 @@ extern "C" { #include #include "jpeglib.h" } -#include -#include -#include +#include +#include +#include #include #include #include -#include -#include +#include +#include #ifdef TRUE #undef TRUE #endif #define TRUE 1 -using org::xwt::util::Log; +using org::ibex::util::Log; // builtin.xwar ///////////////////////////////////////////////////////// extern unsigned char builtin_bytes[]; extern int builtin_length; -java::io::InputStream* org::xwt::plat::GCJ::_getBuiltinInputStream() { +java::io::InputStream* org::ibex::plat::GCJ::_getBuiltinInputStream() { jbyteArray ret = JvNewByteArray(builtin_length); memcpy(elements(ret), builtin_bytes, builtin_length); return new java::io::ByteArrayInputStream(ret); @@ -99,7 +99,7 @@ void skip_input_data (j_decompress_ptr cinfo, long num_bytes) { src->pub.bytes_in_buffer -= num_bytes; } -void org::xwt::plat::GCJ::_decodeJPEG(java::io::InputStream* is, org::xwt::Picture* p) { +void org::ibex::plat::GCJ::_decodeJPEG(java::io::InputStream* is, org::ibex::Picture* p) { struct jpeg_decompress_struct cinfo; my_error_mgr_t jerr; my_source_mgr_t src;