-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
creating nsfplaycore.cpp to contain public interface
- Loading branch information
1 parent
35e84c8
commit 5a68726
Showing
7 changed files
with
78 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
// stub | ||
// core.cpp | ||
// high level central operation of core functions | ||
|
||
#include <nsfplaycore.h> | ||
#include "core.h" | ||
#include "enums_data.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
#pragma once | ||
#ifndef __CORE_PCH__ | ||
#define __CORE_PCH__ | ||
// core.h | ||
// All internal core shared functions and data should be defined here, | ||
// preferring one central header over individual module headers, | ||
// unless they are deliberately self-contained, like an external library. | ||
// | ||
// core.h should be included as the first code line in every core source file. | ||
// Some builds will force-include it as a precompiled header. | ||
// The include guards allow GCC to use the precompiled version in another directory | ||
// without redundantly including this one. | ||
|
||
#include <nsfplaycore.h> | ||
|
||
typedef int8_t sint8; | ||
typedef int16_t sint16; | ||
typedef int32_t sint32; | ||
typedef int64_t sint64; | ||
|
||
typedef uint8_t uint8; | ||
typedef uint16_t uint16; | ||
typedef uint32_t uint32; | ||
typedef uint64_t uint64; | ||
|
||
#endif // __CORE_PCH__ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
// nsfplaycore.cpp | ||
// Contains the public interface. | ||
|
||
#include "core.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
#include "core.h" | ||
// Used in some builds to create the precompiled header for core.h |