summaryrefslogtreecommitdiff
path: root/include/type.h
diff options
context:
space:
mode:
authorMartijn Otto <martijn.otto@copernica.com>2015-03-26 16:00:10 +0100
committerMartijn Otto <martijn.otto@copernica.com>2015-03-26 16:00:10 +0100
commit7a928e2b19bddf152fd838469cc50805d4132401 (patch)
tree0a6657f4b94c27556b2f218e407f752018540d3b /include/type.h
parentae4fa5f871d937773e9facde87a32784e715e3ae (diff)
Changed default visibility for symbols in the PHP-CPP library to hidden and explicitly exported all symbols available from the public API. Moved the hiddenpointer to the zend implementation directory as it is not meant to be used publicly and not referenced anywhere from the API anyway
Diffstat (limited to 'include/type.h')
-rw-r--r--include/type.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/type.h b/include/type.h
index d248455..151919c 100644
--- a/include/type.h
+++ b/include/type.h
@@ -17,7 +17,7 @@ namespace Php {
* Supported types for variables
* The values are the same as the ones used internally in Zend
*/
-enum class Type : unsigned char {
+enum class PHPCPP_EXPORT Type : unsigned char {
Null = 0, // Null will allow any type
Numeric = 1,
Float = 2,
@@ -35,4 +35,3 @@ enum class Type : unsigned char {
* End of namespace
*/
}
-