summaryrefslogtreecommitdiff
path: root/include/countable.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/countable.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/countable.h')
-rw-r--r--include/countable.h13
1 files changed, 6 insertions, 7 deletions
diff --git a/include/countable.h b/include/countable.h
index d4c1823..8ff0c61 100644
--- a/include/countable.h
+++ b/include/countable.h
@@ -1,11 +1,11 @@
/**
* Countable.h
- *
+ *
* "Interface" that can be "implemented" by your class. If you do, you
* create your class like this:
- *
+ *
* class MyClass : public Php::Base, public Php::Countable { ... }
- *
+ *
* You will have to implement the count() method, which should return the
* number of elements in the object
*
@@ -17,11 +17,11 @@
* Set up namespace
*/
namespace Php {
-
+
/**
* Class definition
*/
-class Countable
+class PHPCPP_EXPORT Countable
{
public:
/**
@@ -31,9 +31,8 @@ public:
virtual long count() = 0;
};
-
+
/**
* End namespace
*/
}
-