Elaztek Developer Hub
Blamite Game Engine - Strings  00308.02.02.21.2032.blamite
A library containing general purpose utilities and classes for use in multiple projects.
strings_api.h
Go to the documentation of this file.
1 // Blamite Game Engine - Strings.dll Exports Header //
3 // Copyright (c) 2013-2020 Elaztek Studios //
5 
6 #pragma once
7 
8 #include <string>
9 
10 /*#ifdef _MSC_VER
11 #define _CRT_SECURE_NO_WARNINGS
12 #endif*/
13 
14 #ifdef STRINGS_EXPORTS
15 #define STRINGS_API __declspec(dllexport)
16 #else
17 #define STRINGS_API __declspec(dllimport)
18 #endif
19 
26 namespace BlamStrings
27 {
40  STRINGS_API const char* GetStringFromID(int string_id, int max_length);
41 }
BlamStrings
Namespace for Blamite's shared C++ library.
Definition: hooks.h:22
STRINGS_API
#define STRINGS_API
Definition: strings_api.h:17
BlamStrings::GetStringFromID
const STRINGS_API char * GetStringFromID(int string_id, int max_length)
Retrieves a string from its ID.
Definition: main.cpp:13