-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #124 from jdibenes/mq-cleanup
Mq cleanup
- Loading branch information
Showing
17 changed files
with
77 additions
and
55 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
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,23 @@ | ||
|
||
#pragma once | ||
|
||
#include <stdint.h> | ||
#include "plugin.h" | ||
|
||
void MQ_Initialize(); | ||
void MQ_Quit(); | ||
void MQ_Cleanup(); | ||
|
||
void MQX_Initialize(); | ||
void MQX_Quit(); | ||
void MQX_Cleanup(); | ||
|
||
HL2SS_PLUGIN_EXPORT uint32_t MQ_SI_Peek(); | ||
HL2SS_PLUGIN_EXPORT void MQ_SI_Pop(uint32_t& command, uint8_t* data); | ||
HL2SS_PLUGIN_EXPORT void MQ_SO_Push(uint32_t id); | ||
HL2SS_PLUGIN_EXPORT void MQ_Restart(); | ||
|
||
HL2SS_PLUGIN_EXPORT uint32_t MQX_CO_Peek(); | ||
HL2SS_PLUGIN_EXPORT void MQX_CO_Pop(uint32_t& id); | ||
HL2SS_PLUGIN_EXPORT void MQX_CI_Push(uint32_t command, uint32_t size, uint8_t const* data); | ||
HL2SS_PLUGIN_EXPORT void MQX_Restart(); |
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,8 @@ | ||
|
||
#pragma once | ||
|
||
#ifdef HL2SS_PLUGIN | ||
#define HL2SS_PLUGIN_EXPORT extern "C" __declspec(dllexport) | ||
#else | ||
#define HL2SS_PLUGIN_EXPORT | ||
#endif |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
Binary file not shown.
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
Oops, something went wrong.