Browse Source

dodge HL documentation merge issue

Simon Krajewski 8 years ago
parent
commit
865aa86b70
2 changed files with 8 additions and 0 deletions
  1. 4 0
      std/hl/_std/sys/io/File.hx
  2. 4 0
      std/hl/_std/sys/net/Socket.hx

+ 4 - 0
std/hl/_std/sys/io/File.hx

@@ -21,7 +21,11 @@
  */
 package sys.io;
 
+#if doc_gen
+enum FileHandle { }
+#else
 typedef FileHandle = hl.Abstract<"hl_fdesc">;
+#end
 
 @:access(Sys)
 @:coreApi class File {

+ 4 - 0
std/hl/_std/sys/net/Socket.hx

@@ -22,7 +22,11 @@
 package sys.net;
 import haxe.io.Error;
 
+#if doc_gen
+private enum SocketHandle { }
+#else
 private typedef SocketHandle = hl.Abstract<"hl_socket">;
+#end
 
 private class SocketOutput extends haxe.io.Output {