mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
# 34082
r= pnunn@netscape.com OS/2 Visual Age build - Adding PR_CALLBACK to some functoins for linkage
This commit is contained in:
parent
4f5a81bb2f
commit
1217d7950e
@ -18,6 +18,19 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* This Original Code has been modified by IBM Corporation.
|
||||
* Modifications made by IBM described herein are
|
||||
* Copyright (c) International Business Machines
|
||||
* Corporation, 2000
|
||||
*
|
||||
* Modifications to Mozilla code or documentation
|
||||
* identified per MPL Section 3.3
|
||||
*
|
||||
* Date Modified by Description of modification
|
||||
* 03/27/2000 IBM Corp. Added PR_CALLBACK for Optlink
|
||||
* use in OS2
|
||||
*/
|
||||
|
||||
#include "png.h"
|
||||
@ -33,11 +46,11 @@
|
||||
|
||||
#define MINIMUM_DELAY_TIME 10
|
||||
|
||||
static void info_callback(png_structp png_ptr, png_infop info);
|
||||
static void row_callback(png_structp png_ptr, png_bytep new_row,
|
||||
static void PR_CALLBACK info_callback(png_structp png_ptr, png_infop info);
|
||||
static void PR_CALLBACK row_callback(png_structp png_ptr, png_bytep new_row,
|
||||
png_uint_32 row_num, int pass);
|
||||
static void end_callback(png_structp png_ptr, png_infop info);
|
||||
static void il_png_error_handler(png_structp png_ptr, png_const_charp msg);
|
||||
static void PR_CALLBACK end_callback(png_structp png_ptr, png_infop info);
|
||||
static void PR_CALLBACK il_png_error_handler(png_structp png_ptr, png_const_charp msg);
|
||||
|
||||
int il_debug;
|
||||
PRLogModuleInfo *il_log_module = NULL;
|
||||
|
@ -18,6 +18,19 @@
|
||||
* Rights Reserved.
|
||||
*
|
||||
* Contributor(s):
|
||||
*
|
||||
*
|
||||
* This Original Code has been modified by IBM Corporation.
|
||||
* Modifications made by IBM described herein are
|
||||
* Copyright (c) International Business Machines
|
||||
* Corporation, 2000
|
||||
*
|
||||
* Modifications to Mozilla code or documentation
|
||||
* identified per MPL Section 3.3
|
||||
*
|
||||
* Date Modified by Description of modification
|
||||
* 03/27/2000 IBM Corp. Added PR_CALLBACK for Optlink
|
||||
* use in OS2
|
||||
*/
|
||||
|
||||
/* -*- Mode: C; tab-width: 4 -*-
|
||||
@ -25,7 +38,7 @@
|
||||
Includes dithering for B&W displays, but not dithering
|
||||
for PseudoColor displays which can be found in dither.c.
|
||||
|
||||
$Id: color.cpp,v 3.14 1999/11/13 22:37:39 cls%seawood.org Exp $
|
||||
$Id: color.cpp,v 3.15 2000/04/05 02:36:47 mkaply%us.ibm.com Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -585,7 +598,7 @@ ConvertRGBToRGB32(il_container *ic,
|
||||
}
|
||||
|
||||
/* Sorting predicate for NS_QuickSort() */
|
||||
int compare_PRUint32(const void *a, const void *b, void *unused)
|
||||
int PR_CALLBACK compare_PRUint32(const void *a, const void *b, void *unused)
|
||||
{
|
||||
PRUint32 a1 = *(PRUint32*)a;
|
||||
PRUint32 b1 = *(PRUint32*)b;
|
||||
|
Loading…
Reference in New Issue
Block a user