Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(812)

Unified Diff: java/org/libjpegturbo/turbojpeg/TJException.java

Issue 1934113002: Update libjpeg_turbo to 1.4.90 from https://github.com/libjpeg-turbo/ (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/libjpeg_turbo.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: java/org/libjpegturbo/turbojpeg/TJException.java
diff --git a/bmp.h b/java/org/libjpegturbo/turbojpeg/TJException.java
similarity index 75%
copy from bmp.h
copy to java/org/libjpegturbo/turbojpeg/TJException.java
index c50c260ee615426cf16e06d5a437a00add098940..59c20413583cca0142c5cb6ec8650d8aa87f98cf 100644
--- a/bmp.h
+++ b/java/org/libjpegturbo/turbojpeg/TJException.java
@@ -1,5 +1,5 @@
/*
- * Copyright (C)2011 D. R. Commander. All Rights Reserved.
+ * Copyright (C)2015 Viktor Szathmáry. All Rights Reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
@@ -26,17 +26,28 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
-#ifndef __BMP_H__
-#define __BMP_H__
+package org.libjpegturbo.turbojpeg;
-#include "./turbojpeg.h"
+import java.io.IOException;
-int loadbmp(char *filename, unsigned char **buf, int *w, int *h, int pf,
- int bottomup);
+public class TJException extends IOException {
-int savebmp(char *filename, unsigned char *buf, int w, int h, int pf,
- int bottomup);
+ private static final long serialVersionUID = 1L;
-const char *bmpgeterr(void);
+ public TJException() {
+ super();
+ }
-#endif
+ public TJException(String message, Throwable cause) {
+ super(message, cause);
+ }
+
+ public TJException(String message) {
+ super(message);
+ }
+
+ public TJException(Throwable cause) {
+ super(cause);
+ }
+
+}

Powered by Google App Engine
This is Rietveld 408576698