Permalink
Browse files

Merge branch 'dev' of https://github.com/fibjs/fibjs into dev

  • Loading branch information...
xicilion committed Nov 2, 2017
2 parents 7d5f6d3 + 7f3d574 commit 25c6e682e1ec12cdaa1adc4c185eafeb4f55334b
Showing with 405 additions and 2,059 deletions.
  1. +30 −8 fibjs/include/ClassInfo.h
  2. +4 −1 fibjs/include/Trigger.h
  3. +1 −1 fibjs/include/ifs/AsyncWait.h
  4. +1 −1 fibjs/include/ifs/Buffer.h
  5. +1 −1 fibjs/include/ifs/BufferedStream.h
  6. +1 −1 fibjs/include/ifs/Chain.h
  7. +1 −1 fibjs/include/ifs/Cipher.h
  8. +1 −1 fibjs/include/ifs/Condition.h
  9. +1 −1 fibjs/include/ifs/DbConnection.h
  10. +1 −1 fibjs/include/ifs/Digest.h
  11. +1 −1 fibjs/include/ifs/Event.h
  12. +1 −1 fibjs/include/ifs/EventEmitter.h
  13. +1 −1 fibjs/include/ifs/EventInfo.h
  14. +1 −1 fibjs/include/ifs/Fiber.h
  15. +1 −1 fibjs/include/ifs/File.h
  16. +1 −1 fibjs/include/ifs/Handler.h
  17. +1 −1 fibjs/include/ifs/HandlerEx.h
  18. +1 −1 fibjs/include/ifs/HeapGraphEdge.h
  19. +1 −1 fibjs/include/ifs/HeapGraphNode.h
  20. +1 −1 fibjs/include/ifs/HeapSnapshot.h
  21. +1 −1 fibjs/include/ifs/HttpClient.h
  22. +1 −1 fibjs/include/ifs/HttpCollection.h
  23. +1 −1 fibjs/include/ifs/HttpCookie.h
  24. +1 −1 fibjs/include/ifs/HttpHandler.h
  25. +1 −1 fibjs/include/ifs/HttpMessage.h
  26. +1 −1 fibjs/include/ifs/HttpRequest.h
  27. +1 −1 fibjs/include/ifs/HttpResponse.h
  28. +1 −1 fibjs/include/ifs/HttpServer.h
  29. +1 −1 fibjs/include/ifs/HttpUploadData.h
  30. +1 −1 fibjs/include/ifs/HttpsServer.h
  31. +1 −1 fibjs/include/ifs/Image.h
  32. +1 −1 fibjs/include/ifs/Int64.h
  33. +1 −1 fibjs/include/ifs/LevelDB.h
  34. +1 −1 fibjs/include/ifs/Lock.h
  35. +1 −1 fibjs/include/ifs/LruCache.h
  36. +1 −1 fibjs/include/ifs/MSSQL.h
  37. +1 −1 fibjs/include/ifs/MemoryStream.h
  38. +6 −21 fibjs/include/ifs/Message.h
  39. +1 −1 fibjs/include/ifs/MongoCollection.h
  40. +1 −1 fibjs/include/ifs/MongoCursor.h
  41. +1 −1 fibjs/include/ifs/MongoDB.h
  42. +1 −1 fibjs/include/ifs/MongoID.h
  43. +1 −1 fibjs/include/ifs/MySQL.h
  44. +1 −1 fibjs/include/ifs/PKey.h
  45. +1 −1 fibjs/include/ifs/Redis.h
  46. +1 −1 fibjs/include/ifs/RedisHash.h
  47. +1 −1 fibjs/include/ifs/RedisList.h
  48. +1 −1 fibjs/include/ifs/RedisSet.h
  49. +1 −1 fibjs/include/ifs/RedisSortedSet.h
  50. +1 −1 fibjs/include/ifs/Routing.h
  51. +1 −1 fibjs/include/ifs/SQLite.h
  52. +1 −1 fibjs/include/ifs/SandBox.h
  53. +1 −1 fibjs/include/ifs/SeekableStream.h
  54. +1 −1 fibjs/include/ifs/Semaphore.h
  55. +1 −1 fibjs/include/ifs/Service.h
  56. +1 −1 fibjs/include/ifs/Smtp.h
  57. +1 −1 fibjs/include/ifs/Socket.h
  58. +1 −1 fibjs/include/ifs/SslHandler.h
  59. +1 −1 fibjs/include/ifs/SslServer.h
  60. +1 −1 fibjs/include/ifs/SslSocket.h
  61. +1 −1 fibjs/include/ifs/Stat.h
  62. +1 −1 fibjs/include/ifs/Stats.h
  63. +1 −1 fibjs/include/ifs/Stream.h
  64. +1 −1 fibjs/include/ifs/StringDecoder.h
  65. +1 −1 fibjs/include/ifs/SubProcess.h
  66. +1 −1 fibjs/include/ifs/TcpServer.h
  67. +1 −1 fibjs/include/ifs/Timer.h
  68. +1 −1 fibjs/include/ifs/UrlObject.h
  69. +1 −1 fibjs/include/ifs/WebSocket.h
  70. +1 −1 fibjs/include/ifs/WebSocketMessage.h
  71. +1 −1 fibjs/include/ifs/WebView.h
  72. +1 −1 fibjs/include/ifs/Worker.h
  73. +1 −1 fibjs/include/ifs/X509Cert.h
  74. +1 −1 fibjs/include/ifs/X509Crl.h
  75. +1 −1 fibjs/include/ifs/X509Req.h
  76. +1 −1 fibjs/include/ifs/XmlAttr.h
  77. +1 −1 fibjs/include/ifs/XmlCDATASection.h
  78. +1 −1 fibjs/include/ifs/XmlCharacterData.h
  79. +1 −1 fibjs/include/ifs/XmlComment.h
  80. +1 −1 fibjs/include/ifs/XmlDocument.h
  81. +1 −1 fibjs/include/ifs/XmlDocumentType.h
  82. +1 −1 fibjs/include/ifs/XmlElement.h
  83. +1 −1 fibjs/include/ifs/XmlNamedNodeMap.h
  84. +1 −1 fibjs/include/ifs/XmlNode.h
  85. +1 −1 fibjs/include/ifs/XmlNodeList.h
  86. +1 −1 fibjs/include/ifs/XmlProcessingInstruction.h
  87. +1 −1 fibjs/include/ifs/XmlText.h
  88. +1 −1 fibjs/include/ifs/ZipFile.h
  89. +1 −1 fibjs/include/ifs/ZmqSocket.h
  90. +1 −1 fibjs/include/ifs/assert.h
  91. +1 −1 fibjs/include/ifs/base32.h
  92. +1 −1 fibjs/include/ifs/base64.h
  93. +1 −1 fibjs/include/ifs/base64vlq.h
  94. +1 −1 fibjs/include/ifs/bson.h
  95. +14 −101 fibjs/include/ifs/console.h
  96. +1 −1 fibjs/include/ifs/coroutine.h
  97. +23 −212 fibjs/include/ifs/crypto.h
  98. +1 −1 fibjs/include/ifs/db.h
  99. +1 −1 fibjs/include/ifs/encoding.h
  100. +7 −31 fibjs/include/ifs/fs.h
  101. +31 −292 fibjs/include/ifs/gd.h
  102. +1 −1 fibjs/include/ifs/global.h
  103. +8 −62 fibjs/include/ifs/gui.h
  104. +11 −92 fibjs/include/ifs/hash.h
  105. +1 −1 fibjs/include/ifs/hex.h
  106. +1 −1 fibjs/include/ifs/http.h
  107. +1 −1 fibjs/include/ifs/iconv.h
  108. +1 −1 fibjs/include/ifs/io.h
  109. +1 −1 fibjs/include/ifs/json.h
  110. +1 −1 fibjs/include/ifs/mq.h
  111. +6 −42 fibjs/include/ifs/net.h
  112. +1 −1 fibjs/include/ifs/object.h
  113. +1 −1 fibjs/include/ifs/os.h
  114. +1 −1 fibjs/include/ifs/path.h
  115. +1 −1 fibjs/include/ifs/path_posix.h
  116. +1 −1 fibjs/include/ifs/path_win32.h
  117. +1 −1 fibjs/include/ifs/process.h
  118. +23 −212 fibjs/include/ifs/profiler.h
  119. +1 −1 fibjs/include/ifs/punycode.h
  120. +1 −1 fibjs/include/ifs/querystring.h
  121. +11 −92 fibjs/include/ifs/registry.h
  122. +15 −111 fibjs/include/ifs/ssl.h
  123. +1 −1 fibjs/include/ifs/string_decoder.h
  124. +1 −1 fibjs/include/ifs/test.h
  125. +1 −1 fibjs/include/ifs/timers.h
  126. +1 −1 fibjs/include/ifs/tty.h
  127. +1 −1 fibjs/include/ifs/url.h
  128. +1 −1 fibjs/include/ifs/util.h
  129. +8 −41 fibjs/include/ifs/uuid.h
  130. +1 −1 fibjs/include/ifs/vm.h
  131. +12 −102 fibjs/include/ifs/ws.h
  132. +10 −82 fibjs/include/ifs/xml.h
  133. +4 −22 fibjs/include/ifs/zip.h
  134. +6 −42 fibjs/include/ifs/zlib.h
  135. +13 −114 fibjs/include/ifs/zmq.h
  136. +1 −3 fibjs/include/object.h
  137. +5 −0 fibjs/src/fs/fs_posix.cpp
  138. +3 −4 fibjs/src/io/AsyncIO_ev.cpp
  139. +0 −95 idl/us-en/List.idl
  140. +0 −63 idl/us-en/Map.idl
  141. +0 −59 idl/us-en/Queue.idl
  142. +0 −19 idl/us-en/collection.idl
  143. +0 −3 idl/us-en/coroutine.idl
  144. +5 −1 test/process/exec.js
  145. +10 −1 test/process_test.js
  146. +23 −15 tools/util/gen_code.js
View
@@ -26,6 +26,11 @@ struct ClassData {
bool is_static;
};
struct ClassConst {
const char* name;
int32_t value;
};
struct ClassMethod {
const char* name;
v8::FunctionCallback invoker;
@@ -59,6 +64,8 @@ struct ClassData {
const ClassObject* cos;
int32_t pc;
const ClassProperty* cps;
int32_t cc;
const ClassConst* ccs;
const ClassIndexed* cis;
const ClassNamed* cns;
ClassInfo* base;
@@ -174,6 +181,10 @@ class ClassInfo {
if (!qstrcmp(name, m_cd.cps[i].name))
return true;
for (i = 0; i < m_cd.cc; i++)
if (!qstrcmp(name, m_cd.ccs[i].name))
return true;
if (m_cd.base)
return m_cd.base->has(name);
@@ -187,8 +198,6 @@ class ClassInfo {
void Attach(Isolate* isolate, v8::Local<v8::Object> o, const char** skips = NULL)
{
v8::Local<v8::Context> _context = isolate->context();
int32_t i, j;
for (i = 0; i < m_cd.mc; i++) {
@@ -198,9 +207,8 @@ class ClassInfo {
;
if (!skips || !skips[j])
o->DefineOwnProperty(_context, isolate->NewString(m_cd.cms[i].name),
isolate->NewFunction(m_cd.name, m_cd.cms[i].invoker))
.IsJust();
o->Set(isolate->NewString(m_cd.cms[i].name),
isolate->NewFunction(m_cd.name, m_cd.cms[i].invoker));
}
}
@@ -210,9 +218,8 @@ class ClassInfo {
;
if (!skips || !skips[j])
o->DefineOwnProperty(_context, isolate->NewString(m_cd.cos[i].name),
m_cd.cos[i].invoker().getModule(isolate))
.IsJust();
o->Set(isolate->NewString(m_cd.cos[i].name),
m_cd.cos[i].invoker().getModule(isolate));
}
for (i = 0; i < m_cd.pc; i++)
@@ -226,6 +233,16 @@ class ClassInfo {
m_cd.cps[i].getter, m_cd.cps[i].setter);
}
for (i = 0; i < m_cd.cc; i++) {
if (skips)
for (j = 0; skips[j] && qstrcmp(skips[j], m_cd.ccs[i].name); j++)
;
if (!skips || !skips[j])
o->Set(isolate->NewString(m_cd.ccs[i].name),
v8::Number::New(isolate->m_isolate, m_cd.ccs[i].value));
}
if (m_cd.base)
m_cd.base->Attach(isolate, o, skips);
}
@@ -327,6 +344,11 @@ class ClassInfo {
m_cd.cps[i].getter, m_cd.cps[i].setter,
v8::Local<v8::Value>(), v8::DEFAULT, v8::DontDelete);
for (i = 0; i < m_cd.cc; i++) {
pt->Set(isolate->NewString(m_cd.ccs[i].name),
v8::Number::New(isolate->m_isolate, m_cd.ccs[i].value));
}
v8::Local<v8::ObjectTemplate> ot = _class->InstanceTemplate();
ot->SetInternalFieldCount(1);
View
@@ -228,6 +228,7 @@ class JSTrigger {
v8::Local<v8::Function> func = v8::Local<v8::Function>::Cast(_data->Get(isolate->NewString("_func")));
v8::Local<v8::Value> v = _data->Get(isolate->NewString("_ev"));
v8::Local<v8::Function> _wrap = v8::Local<v8::Function>::Cast(_data->Get(isolate->NewString("_wrap")));
exlib::string ev;
GetArgumentValue(v, ev, true);
@@ -241,7 +242,7 @@ class JSTrigger {
v8::Local<v8::Object> vr;
JSTrigger t(args);
t.off(ev, args.Callee(), vr);
t.off(ev, _wrap, vr);
func->Call(args.This(), (int32_t)_args.size(), _args.data());
}
@@ -255,6 +256,8 @@ class JSTrigger {
v8::Local<v8::Function> wrap = _isolate->NewFunction("_onceWrap", _onceWrap, _data);
wrap->Set(NewString("_func"), func);
_data->Set(NewString("_wrap"), wrap);
putFunction(GetHiddenList(ev, true), wrap, ev);
retVal = o;
@@ -51,7 +51,7 @@ inline ClassInfo& AsyncWait_base::class_info()
static ClassData s_cd = {
"AsyncWait", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&Handler_base::class_info()
};
@@ -276,7 +276,7 @@ inline ClassInfo& Buffer_base::class_info()
static ClassData s_cd = {
"Buffer", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, &s_indexed, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, &s_indexed, NULL,
&object_base::class_info()
};
@@ -89,7 +89,7 @@ inline ClassInfo& BufferedStream_base::class_info()
static ClassData s_cd = {
"BufferedStream", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&Stream_base::class_info()
};
@@ -47,7 +47,7 @@ inline ClassInfo& Chain_base::class_info()
static ClassData s_cd = {
"Chain", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&Handler_base::class_info()
};
@@ -76,7 +76,7 @@ inline ClassInfo& Cipher_base::class_info()
static ClassData s_cd = {
"Cipher", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -53,7 +53,7 @@ inline ClassInfo& Condition_base::class_info()
static ClassData s_cd = {
"Condition", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&Lock_base::class_info()
};
@@ -86,7 +86,7 @@ inline ClassInfo& DbConnection_base::class_info()
static ClassData s_cd = {
"DbConnection", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -62,7 +62,7 @@ inline ClassInfo& Digest_base::class_info()
static ClassData s_cd = {
"Digest", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -58,7 +58,7 @@ inline ClassInfo& Event_base::class_info()
static ClassData s_cd = {
"Event", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&Lock_base::class_info()
};
@@ -99,7 +99,7 @@ inline ClassInfo& EventEmitter_base::class_info()
static ClassData s_cd = {
"EventEmitter", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -65,7 +65,7 @@ inline ClassInfo& EventInfo_base::class_info()
static ClassData s_cd = {
"EventInfo", false, s__new, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, &s_named,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, &s_named,
&object_base::class_info()
};
@@ -60,7 +60,7 @@ inline ClassInfo& Fiber_base::class_info()
static ClassData s_cd = {
"Fiber", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
View
@@ -64,7 +64,7 @@ inline ClassInfo& File_base::class_info()
static ClassData s_cd = {
"File", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&SeekableStream_base::class_info()
};
@@ -49,7 +49,7 @@ inline ClassInfo& Handler_base::class_info()
static ClassData s_cd = {
"Handler", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -65,7 +65,7 @@ inline ClassInfo& HandlerEx_base::class_info()
static ClassData s_cd = {
"HandlerEx", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&Handler_base::class_info()
};
@@ -67,7 +67,7 @@ inline ClassInfo& HeapGraphEdge_base::class_info()
static ClassData s_cd = {
"HeapGraphEdge", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -63,7 +63,7 @@ inline ClassInfo& HeapGraphNode_base::class_info()
static ClassData s_cd = {
"HeapGraphNode", false, s__new, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -74,7 +74,7 @@ inline ClassInfo& HeapSnapshot_base::class_info()
static ClassData s_cd = {
"HeapSnapshot", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -113,7 +113,7 @@ inline ClassInfo& HttpClient_base::class_info()
static ClassData s_cd = {
"HttpClient", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -80,7 +80,7 @@ inline ClassInfo& HttpCollection_base::class_info()
static ClassData s_cd = {
"HttpCollection", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, &s_named,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, &s_named,
&object_base::class_info()
};
@@ -85,7 +85,7 @@ inline ClassInfo& HttpCookie_base::class_info()
static ClassData s_cd = {
"HttpCookie", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -72,7 +72,7 @@ inline ClassInfo& HttpHandler_base::class_info()
static ClassData s_cd = {
"HttpHandler", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&HandlerEx_base::class_info()
};
@@ -107,7 +107,7 @@ inline ClassInfo& HttpMessage_base::class_info()
static ClassData s_cd = {
"HttpMessage", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&Message_base::class_info()
};
@@ -70,7 +70,7 @@ inline ClassInfo& HttpRequest_base::class_info()
static ClassData s_cd = {
"HttpRequest", false, s__new, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&HttpMessage_base::class_info()
};
@@ -81,7 +81,7 @@ inline ClassInfo& HttpResponse_base::class_info()
static ClassData s_cd = {
"HttpResponse", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&HttpMessage_base::class_info()
};
@@ -81,7 +81,7 @@ inline ClassInfo& HttpServer_base::class_info()
static ClassData s_cd = {
"HttpServer", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&TcpServer_base::class_info()
};
@@ -61,7 +61,7 @@ inline ClassInfo& HttpUploadData_base::class_info()
static ClassData s_cd = {
"HttpUploadData", false, s__new, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -61,7 +61,7 @@ inline ClassInfo& HttpsServer_base::class_info()
static ClassData s_cd = {
"HttpsServer", false, s__new, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
0, NULL, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&HttpServer_base::class_info()
};
@@ -270,7 +270,7 @@ inline ClassInfo& Image_base::class_info()
static ClassData s_cd = {
"Image", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -95,7 +95,7 @@ inline ClassInfo& Int64_base::class_info()
static ClassData s_cd = {
"Int64", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, ARRAYSIZE(s_property), s_property, 0, NULL, NULL, NULL,
&object_base::class_info()
};
@@ -97,7 +97,7 @@ inline ClassInfo& LevelDB_base::class_info()
static ClassData s_cd = {
"LevelDB", false, s__new, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, NULL, NULL,
ARRAYSIZE(s_method), s_method, 0, NULL, 0, NULL, 0, NULL, NULL, NULL,
&object_base::class_info()
};
Oops, something went wrong.

0 comments on commit 25c6e68

Please sign in to comment.