source: cpp/frams/util/validitychecks.h @ 520

Last change on this file since 520 was 512, checked in by Maciej Komosinski, 9 years ago

No trailing space in full name when last name is empty

  • Property svn:eol-style set to native
File size: 511 bytes
Line 
1// This file is a part of Framsticks SDK.  http://www.framsticks.com/
2// Copyright (C) 1999-2015  Maciej Komosinski and Szymon Ulatowski.
3// See LICENSE.txt for details.
4
5#ifndef _VALIDITY_CHECKS_H_
6#define _VALIDITY_CHECKS_H_
7
8#include <frams/util/list.h>
9#include <frams/util/sstring.h>
10
11bool listIndexCheck(SList* list,int index,const char* msgobj,const char* msgfun);
12SString stringCheck(SString& in,const char* msgobj,const char* msgfun,const char* msg,SString (*checker)(const SString& in)=NULL);
13
14#endif
Note: See TracBrowser for help on using the repository browser.