source: cpp/gdk/framsg.cpp @ 56

Last change on this file since 56 was 5, checked in by sz, 16 years ago

added the GDK (Genotype Development Kit)

File size: 626 bytes
RevLine 
[5]1// This file is a part of Framsticks GDK library.
2// Copyright (C) 2002-2006  Szymon Ulatowski.  See LICENSE.txt for details.
3// Refer to http://www.frams.alife.pl/ 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.