Changeset 363


Ignore:
Timestamp:
Jun 23, 2009, 8:38:28 PM (16 years ago)
Author:
RBRi
Message:

logging via pmprintf added

Location:
trunk/newview_dll
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/newview_dll/makefile

    r362 r363  
    1919    @newview.def &
    2020    file newview.obj
     21  copy newview.dll ..\build\newview\newview.dll
    2122
    2223# Compile step: .c -> .obj
  • trunk/newview_dll/newview.c

    r362 r363  
    55#include <stdio.h>
    66#include <stdlib.h>
     7
     8
     9#define  _PMPRINTF_
     10#include <PMPRINTF.H>
     11
     12
     13#define VERSION "0.9.1"
     14
     15
    716
    817/********************************************************************
     
    6170 *
    6271 */
    63 char *decode_string(unsigned char *buffer, unsigned int code, BOOL* error)
    64 {
     72char *decode_string(unsigned char *buffer, unsigned int code, BOOL* error) {
    6573    int i = 0;
    6674    *error = FALSE;
     
    8492 *      stream.
    8593 */
    86 unsigned input_code(PBYTE *ppbInput, unsigned bytes_to_read)
    87 {
     94unsigned input_code(PBYTE *ppbInput, unsigned bytes_to_read) {
    8895    unsigned int return_value;
    8996    static unsigned long bytes_out = 0;
     
    137144    *pBytesOut = 0;
    138145
     146    _Pmpf(("LZWDecompressBlock"));
     147
    139148    while ((new_code = input_code(&pbInput, number_bytes)) != TERMINATOR) {
    140149        if (clear_flag) {
  • trunk/newview_dll/newview.def

    r362 r363  
    11library clib3r.lib
    22
    3 system os2v2 dll initinstance terminstance
    4 option ManyAutoData
    5 option map
    6 option stack=1M
     3  system os2v2 dll initinstance terminstance
     4  option ManyAutoData
     5  option map
     6  option stack=1M
    77
    8 export LZWDECOMPRESSBLOCK         .1  = LZWDecompressBlock
     8  LIBRARY P:\newview_dev\tools\pmprintf\PMPRINTF.LIB
     9
     10  export LZWDECOMPRESSBLOCK         .1  = LZWDecompressBlock
Note: See TracChangeset for help on using the changeset viewer.