Changeset 2244
- Timestamp:
- Aug 30, 2017, 7:26:18 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified ghostscript/trunk/psi/dpmain.c ¶
r2243 r2244 25 25 */ 26 26 27 #define OS2EMX_PLAIN_CHAR 27 28 #define INCL_DOS 28 29 #define INCL_DOSERRORS … … 77 78 static int display_update(void *handle, void *device, int x, int y, 78 79 int w, int h); 80 void *display_memalloc(void *handle, void *device, unsigned long size); 81 int display_memfree(void *handle, void *device, void *mem); 82 void image_color(unsigned int format, int index, 83 unsigned char *r, unsigned char *g, unsigned char *b); 79 84 void gs_addmess(const char *str); 80 85 BOOL gs_free_dll(void); … … 964 969 if (needed > img->committed) { 965 970 /* commit more memory */ 966 if (rc = DosSetMem(img->bitmap + img->committed, 967 needed - img->committed, 968 PAG_COMMIT | PAG_DEFAULT)) { 971 if ((rc = DosSetMem(img->bitmap + img->committed, 972 needed - img->committed, PAG_COMMIT | PAG_DEFAULT))) { 969 973 sprintf(logBuf, "No memory in display_memalloc rc = %d\n", rc); 970 974 gs_addmess(logBuf);
Note:
See TracChangeset
for help on using the changeset viewer.