Source

gd-libgd / src / gd_io_ss.c

Diff from to

src/gd_io_ss.c

  * used internally until it settles down a bit.
  *
  * This module just layers the Source/Sink interface on top of the IOCtx; no
- * support is provided for tell/seek, so GD2 writing is not possible, and 
+ * support is provided for tell/seek, so GD2 writing is not possible, and
  * retrieving parts of GD2 files is also not possible.
  *
  * A new SS context does not need to be created with both a Source and a Sink.
 
 /* this is used for creating images in main memory */
 
-typedef struct ssIOCtx
-{
+typedef struct ssIOCtx {
 	gdIOCtx ctx;
 	gdSourcePtr src;
 	gdSinkPtr snk;
 	res = ((lctx->src->source)(lctx->src->context, buf, size));
 
 	/*
-	 * Translate the return values from the Source object: 
+	 * Translate the return values from the Source object:
 	 * 0 is EOF, -1 is error
 	 */
 
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.