summaryrefslogtreecommitdiff
path: root/include/fastcall.h
blob: 778a9b2c0f55accede23aaff9c84c3556d4806e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/**
 *  fastcall.h
 *
 *  This file holds some PHP functions implementation in C directly.
 *
 */

namespace Php {

    inline bool is_a(const Value &obj, const std::string classname, bool allow_string = false) {
        return obj.is(classname, allow_string);
    }
    inline bool is_subclass_of(const Value &obj, const std::string classname, bool allow_string = true) {
        return obj.isSubClassOf(classname, allow_string);
    }

}