Revert "Add natives to check for NULL_VECTOR and NULL_STRING"

This commit is contained in:
Asher Baker
2017-08-04 00:44:47 +01:00
committed by GitHub
parent 1924da3527
commit 11aab699a5
8 changed files with 16 additions and 339 deletions
-16
View File
@@ -143,22 +143,6 @@ struct SharedPlugin
public float NULL_VECTOR[3]; /**< Pass this into certain functions to act as a C++ NULL */
public const char NULL_STRING[1]; /**< pass this into certain functions to act as a C++ NULL */
/**
* Check if the given vector is the NULL_VECTOR.
*
* @param vec The vector to test.
* @return True if NULL_VECTOR, false otherwise.
*/
native bool IsNullVector(const float vec[3]);
/**
* Check if the given string is the NULL_STRING.
*
* @param str The string to test.
* @return True if NULL_STRING, false otherwise.
*/
native bool IsNullString(const char[] str);
/**
* Horrible compatibility shim.
*/