-
Notifications
You must be signed in to change notification settings - Fork 0
/
loadkit.h
45 lines (41 loc) · 1.13 KB
/
loadkit.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/*============================================
# Filename: loadkit.h
# Ver 1.0 2014-06-08
#
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 or later of the License.
#
# Description: a simple toolkit for loading/reading data from a file
=============================================*/
#ifndef _LOADKIT
#define _LOADKIT
#include<stdlib.h>
#include<stdio.h>
#include"BaseClass.h"
#include<iostream>
using namespace std;
class loadkit
{
public:
loadkit(const char * file);
~loadkit();
i32 loadi64(i64 & value);
i32 loadu64(u64 & value);
i32 loadi32(i32 & value);