Changeset 122 for cpp/common/framsg.h


Ignore:
Timestamp:
02/10/14 17:07:20 (10 years ago)
Author:
sz
Message:

(c)opyright information added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpp/common/framsg.h

    r109 r122  
     1// This file is a part of the Framsticks GDK.
     2// Copyright (C) 2002-2014  Maciej Komosinski and Szymon Ulatowski.  See LICENSE.txt for details.
     3// Refer to http://www.framsticks.com/ for further information.
     4
    15#ifndef _FRAMSG_H_
    26#define _FRAMSG_H_
     
    48#include <stdarg.h>
    59
    6 extern char* MSG_LEVEL[];
     10extern const char* MSG_LEVEL[];
    711
    812void FMprintf(const char *o,const char *m,int w,const char *bl, ...);
    9 void FMprintf_va(const char *o,const char *m,int w,const char *bl,va_list va);//inna nazwa bo bez tego nie odroznia parametru "string" od va_list i wywoluje zla wersje
    10 void printFM(const char *bl,...); //dla leniwych - zastepuje printf (zmieniona nazwa chociaz tutaj "prawdopodobienstwo" konfliktu jest niewielkie, musialoby byc wywolanie malego printa z kilkoma parametrami odpowiednich typow zeby niechcacy wywolal sie duzy print)
     13void FMprintf_va(const char *o,const char *m,int w,const char *bl,va_list va); //a different name than FMprintf - otherwise the compiler could confuse the "string" parameter with va_list and could call the wrong function
     14void printFM(const char *bl,...); //a shorthand for printf (a different name again to avoid the risk of confusion with the two functions above. This would be unlikely but possible when the argument types would match)
    1115void FramMessage(const char *o,const char *m,const char *bl,int w);
    1216
Note: See TracChangeset for help on using the changeset viewer.