summaryrefslogtreecommitdiff
path: root/include/parameters.h
diff options
context:
space:
mode:
authorEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-08 16:26:11 -0700
committerEmiel Bruijntjes <emiel.bruijntjes@copernica.com>2013-09-08 16:26:11 -0700
commitdf2520e4b2c87e2302ee4c6cec1e672091efebfb (patch)
treef3bcd4fa7c4d0c6ee601268ceca4d6841ed90d0d /include/parameters.h
parenteb86ac350756afeffa0e2db8be87876d35bc40a8 (diff)
Refactoring function class, and making it even more easy to directly enable native C functions in PHP
Diffstat (limited to 'include/parameters.h')
-rw-r--r--include/parameters.h38
1 files changed, 38 insertions, 0 deletions
diff --git a/include/parameters.h b/include/parameters.h
new file mode 100644
index 0000000..138d973
--- /dev/null
+++ b/include/parameters.h
@@ -0,0 +1,38 @@
+/**
+ * Parameters.h
+ *
+ * Wrapper around parameters that are passed to a
+
+ * @author Emiel Bruijntjes <emiel.bruijntjes@copernica.com>
+ * @copyright 2013 Copernica BV
+ */
+
+/**
+ * Namespace
+ */
+namespace Php {
+
+/**
+ * Class definition
+ */
+class Parameters : public std::vector<Value>
+{
+public:
+ /**
+ * Constructor
+ * @param argc Number of arguments
+ * @param tsrm_ls
+ */
+ Parameters(int argc);// TSRMLS_DC);
+
+ /**
+ * Destructor
+ */
+ virtual ~Parameters() {}
+};
+
+/**
+ * End of namespace
+ */
+}
+