From 771178cf2078da10b9f07590329b3e7c7c7a9259 Mon Sep 17 00:00:00 2001 From: aliaspider Date: Thu, 5 Nov 2015 19:32:30 +0100 Subject: move/delete some unused files. --- src/minGlue.h | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 src/minGlue.h (limited to 'src/minGlue.h') diff --git a/src/minGlue.h b/src/minGlue.h deleted file mode 100644 index 5a4c66a..0000000 --- a/src/minGlue.h +++ /dev/null @@ -1,32 +0,0 @@ -/* Glue functions for the minIni library, based on the C/C++ stdio library - * - * Or better said: this file contains macros that maps the function interface - * used by minIni to the standard C/C++ file I/O functions. - * - * Copyright (c) CompuPhase, 2008-2011 - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy - * of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations - * under the License. - * - * Version: $Id: minGlue.h 31 2011-01-28 10:46:16Z thiadmer.riemersma $ - */ - -/* map required file I/O to the standard C library */ -#include -#define ini_openread(filename,file) ((*(file) = fopen((filename),"rt")) != NULL) -#define ini_openwrite(filename,file) ((*(file) = fopen((filename),"wt")) != NULL) -#define ini_close(file) fclose(*(file)) -#define ini_read(buffer,size,file) fgets((buffer),(size),*(file)) -#define ini_write(buffer,file) fputs((buffer),*(file)) -#define ini_rename(source,dest) rename((source),(dest)) -#define ini_remove(filename) remove(filename) -#define ini_rewind(file) rewind(*(file)) -- cgit v1.2.3