source: cpp/gdk/framsg.cpp @ 70

Last change on this file since 70 was 66, checked in by Maciej Komosinski, 14 years ago

set 'eol-style' to 'native'

  • Property svn:eol-style set to native
File size: 630 bytes
Line 
1// This file is a part of the Framsticks GDK library.
2// Copyright (C) 2002-2011  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.framsticks.com/ for further information.
4
5#include "nonstd.h"
6#include "framsg.h"
7#include <stdio.h>
8
9void FMprintf(const char *o,const char *m,int w,const char *bl, ...)
10{
11   char buf[10000];
12   va_list argptr;
13   va_start(argptr,bl);
14   vsnprintf(buf,10000,bl,argptr);
15   va_end(argptr);
16   FramMessage(o,m,buf,w);
17}
18
19void FMprintf(const char *o,const char *m,int w,const char *bl,va_list va)
20{
21   char buf[10000];
22   vsnprintf(buf,10000,bl,va);
23   FramMessage(o,m,buf,w);
24}
Note: See TracBrowser for help on using the repository browser.