Ignore:
Timestamp:
04/26/15 00:59:09 (10 years ago)
Author:
Maciej Komosinski
Message:

Renamed logging functions to more intuitive and simple names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/frams/virtfile/stdiofile.cpp

    r374 r375  
    66#include <common/nonstd_dir.h>
    77#include <common/nonstd_stdio.h>
    8 #include <common/hmessage.h>
     8#include <common/log.h>
    99#include <common/Convert.h>
    1010
    1111VirtFILE* StdioFileSystem::Vfopen(const char *path, const char *mode)
    1212{
    13         //printH("Vfopen %s %s",path,mode);
     13        //log_printf("Vfopen %s %s",path,mode);
    1414#if defined USE_MFILE || defined _WIN32
    1515        MFILE *f = mfopen(path, mode);
     
    1717        FILE *f = fopen(path, mode);
    1818#endif
    19         //printH("%p",f);
     19        //log_printf("%p",f);
    2020        if (f) return new StdioFILE(f, path); else return NULL;
    2121}
     
    2323VirtDIR* StdioFileSystem::Vopendir(const char* path)
    2424{
    25         //printH("Vopendir %s",path);
     25        //log_printf("Vopendir %s",path);
    2626#ifdef _WIN32
    2727        DIRTYPE *d = wopendir(Convert::utf8ToUtf16(path).c_str());
     
    2929        DIR *d = opendir(path);
    3030#endif
    31         //printH("%p",d);
     31        //log_printf("%p",d);
    3232        if (d) return new StdioDIR(d); else return NULL;
    3333}
     
    5252dirent* StdioDIR::Vreaddir()
    5353{
    54         //printH("Vreaddir %s",dir);
     54        //log_printf("Vreaddir %s",dir);
    5555#ifdef _WIN32
    5656        wdirent *wde=wreaddir(dir);
Note: See TracChangeset for help on using the changeset viewer.