forked from KolibriOS/kolibrios
Added new port TinyBasic
(An improved version in conjunction with ktcc can generate executable files.) git-svn-id: svn://kolibrios.org@8733 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
30
programs/develop/tinybasic-1.0.4/inc/common.h
Normal file
30
programs/develop/tinybasic-1.0.4/inc/common.h
Normal file
@@ -0,0 +1,30 @@
|
||||
/*
|
||||
* Tiny BASIC Interpreter and Compiler Project
|
||||
* Common service routines module
|
||||
*
|
||||
* Released as Public Domain by Damian Gareth Walker 2019
|
||||
* Created: 20-Sep-2019
|
||||
*/
|
||||
|
||||
|
||||
#ifndef __COMMON_H__
|
||||
#define __COMMON_H__
|
||||
|
||||
|
||||
/*
|
||||
* Function Declarations
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* Portable case-insensitive comparison
|
||||
* params:
|
||||
* char* a string to compare
|
||||
* char* b string to compare to
|
||||
* returns:
|
||||
* int -1 if a<b, 0 if a==b, 1 if a>b
|
||||
*/
|
||||
int tinybasic_strcmp (char *a, char *b);
|
||||
|
||||
|
||||
#endif
|
Reference in New Issue
Block a user