mirror of
https://github.com/danog/php-libtgvoip.git
synced 2024-11-30 04:19:26 +01:00
Added missing parameters to PHP constructor
This commit is contained in:
parent
124f2418d7
commit
a65b634109
4
main.cpp
4
main.cpp
@ -228,7 +228,9 @@ extern "C" {
|
||||
// description of the class so that PHP knows which methods are accessible
|
||||
Php::Class<VoIP> voip("VoIP");
|
||||
voip.method<&VoIP::__construct> ("__construct", {
|
||||
Php::ByVal("setStateCallable", Php::Type::Callable)
|
||||
Php::ByVal("setStateCallable", Php::Type::Callable),
|
||||
Php::ByVal("inputCallables", Php::Type::Array),
|
||||
Php::ByVal("outputCallables", Php::Type::Array),
|
||||
});
|
||||
voip.method<&VoIP::setEncryptionKey> ("setEncryptionKey", {
|
||||
Php::ByVal("key", Php::Type::String),
|
||||
|
Loading…
Reference in New Issue
Block a user