Apply C++ noDebug to a few more classes
This commit is contained in:
@@ -142,6 +142,13 @@ class EventMacro {
|
||||
fields.push ( { name: "__listeners", access: [ APublic ], kind: FVar (TPath ({ pack: [], name: "Array", params: [ TPType (typeParam.toComplexType ()) ] })), pos: pos } );
|
||||
fields.push ( { name: "dispatch", access: [ APublic ], kind: FFun ( { args: args, expr: dispatch, params: [], ret: macro :Void } ), pos: pos } );
|
||||
|
||||
var meta:Array<MetadataEntry> = [ { name: ":dox", params: [ macro hide ], pos: pos }, { name: ":noCompletion", pos: pos } ];
|
||||
|
||||
#if !lime_debug
|
||||
meta.push ({ name: ":fileXml", params: [ macro 'tags="haxe,release"' ], pos: pos });
|
||||
meta.push ({ name: ":noDebug", pos: pos });
|
||||
#end
|
||||
|
||||
Context.defineType ({
|
||||
|
||||
pos: pos,
|
||||
@@ -150,7 +157,7 @@ class EventMacro {
|
||||
kind: TDClass (),
|
||||
fields: fields,
|
||||
params: [ { name: "T" } ],
|
||||
meta: [ { name: ":dox", params: [ macro hide ], pos: pos }, { name: ":noCompletion", pos: pos } ]
|
||||
meta: meta
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -132,13 +132,21 @@ class HTTPRequestMacro {
|
||||
{ name: "fromBytes", access: [ APrivate, AOverride ], kind: FFun ( { args: [ { name: "bytes", type: macro :haxe.io.Bytes } ], expr: Context.parse ("return " + typeString + ".fromBytes (bytes)", pos), params: [], ret: paramType.toComplexType () } ), pos: pos }
|
||||
];
|
||||
|
||||
var meta:Array<MetadataEntry> = [];
|
||||
|
||||
#if !lime_debug
|
||||
meta.push ({ name: ":fileXml", params: [ macro 'tags="haxe,release"' ], pos: pos });
|
||||
meta.push ({ name: ":noDebug", pos: pos });
|
||||
#end
|
||||
|
||||
Context.defineType ({
|
||||
|
||||
name: name,
|
||||
pack: [ "lime", "net" ],
|
||||
kind: TDClass ({ pack: [ "lime", "net" ], name: "HTTPRequest", sub: "_HTTPRequest_Bytes", params: [ TPType (paramType.toComplexType ()) ] }, null, false),
|
||||
fields: fields,
|
||||
pos: pos
|
||||
pos: pos,
|
||||
meta: meta
|
||||
|
||||
});
|
||||
|
||||
|
||||
@@ -33,6 +33,11 @@ import lime.utils.DataPointer;
|
||||
import js.html.CanvasElement;
|
||||
#end
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
|
||||
class GLRenderContext {
|
||||
|
||||
|
||||
@@ -24,6 +24,12 @@ class HTTPRequest<T> {
|
||||
#end
|
||||
class HTTPRequest<T> extends AbstractHTTPRequest<T> {}
|
||||
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
private class AbstractHTTPRequest<T> implements _IHTTPRequest {
|
||||
|
||||
#end
|
||||
@@ -91,6 +97,11 @@ private class AbstractHTTPRequest<T> implements _IHTTPRequest {
|
||||
#if !display
|
||||
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class _HTTPRequest_Bytes<T> extends AbstractHTTPRequest<T> {
|
||||
|
||||
|
||||
@@ -137,6 +148,11 @@ class _HTTPRequest_Bytes<T> extends AbstractHTTPRequest<T> {
|
||||
}
|
||||
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class _HTTPRequest_String<T> extends AbstractHTTPRequest<T> {
|
||||
|
||||
|
||||
|
||||
@@ -5,6 +5,11 @@ import haxe.io.Bytes;
|
||||
import lime._backend.native.NativeCFFI;
|
||||
import lime.system.CFFIPointer;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
@:access(lime._backend.native.NativeCFFI)
|
||||
|
||||
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class CodePointIter {
|
||||
|
||||
var string : String;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class Exception {
|
||||
function new() {
|
||||
}
|
||||
@@ -8,6 +13,11 @@ class Exception {
|
||||
}
|
||||
}
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class InvalidCodePoint extends Exception {
|
||||
public var code(default, null) : Int;
|
||||
public function new(code : Int) {
|
||||
@@ -19,6 +29,11 @@ class InvalidCodePoint extends Exception {
|
||||
}
|
||||
}
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class InvalidCodeUnitSequence extends Exception {
|
||||
public var index(default, null) : Int;
|
||||
public function new(index : Int) {
|
||||
|
||||
@@ -8,6 +8,11 @@ package lime.text.unifill;
|
||||
private typedef UtfX = Utf16;
|
||||
#end
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
/**
|
||||
InternalEncoding provides primitive API to deal with strings across
|
||||
all platforms. You should consider adopting Unifill before this.
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class InternalEncodingBackwardIter {
|
||||
|
||||
public var string : String;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class InternalEncodingIter {
|
||||
|
||||
public var string : String;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
class Unicode {
|
||||
|
||||
public static inline var minCodePoint : Int = 0x0000;
|
||||
|
||||
@@ -1,5 +1,10 @@
|
||||
package lime.text.unifill;
|
||||
|
||||
#if !lime_debug
|
||||
@:fileXml('tags="haxe,release"')
|
||||
@:noDebug
|
||||
#end
|
||||
|
||||
/**
|
||||
Unifill provides Unicode-code-point-wise methods on Strings. It is
|
||||
ideally used with 'using Unifill' and then acts as an extension to
|
||||
|
||||
Reference in New Issue
Block a user