add userdata
This commit is contained in:
parent
bc1e1e002c
commit
74dacaa87b
@ -69,6 +69,12 @@ namespace a8
|
|||||||
Set(v);
|
Set(v);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
XValue::XValue(void* userdata)
|
||||||
|
{
|
||||||
|
type_ = XVT_NULL;
|
||||||
|
Set(userdata);
|
||||||
|
}
|
||||||
|
|
||||||
XValue::XValue(const char* v)
|
XValue::XValue(const char* v)
|
||||||
{
|
{
|
||||||
type_ = XVT_NULL;
|
type_ = XVT_NULL;
|
||||||
|
@ -25,6 +25,7 @@ namespace a8
|
|||||||
XValue(long v);
|
XValue(long v);
|
||||||
XValue(unsigned long v);
|
XValue(unsigned long v);
|
||||||
XValue(double v);
|
XValue(double v);
|
||||||
|
XValue(void* userdata);
|
||||||
XValue(const char* v);
|
XValue(const char* v);
|
||||||
XValue(const std::string& v);
|
XValue(const std::string& v);
|
||||||
XValue(std::string& v);
|
XValue(std::string& v);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user