This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pthread_attr_t attr; | |
pthread_attr_t *attrp; | |
pthread_t result; | |
int stack_size; | |
void *sp; | |
stack_size = 0x32000000; | |
attrp = &attr; | |
pthread_attr_init(&attr); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<xml> | |
<!-- Android TOOLS --------------------------------------> | |
<include name="gcc-toolchain.xml"/> | |
<path name="${ANDROID_NDK_ROOT}/toolchains/arm-linux-androideabi-4.6/prebuilt/${ANDROID_HOST}/bin"/> | |
<set name="ARCH" value ="-7" if="HXCPP_ARMV7" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: include/hx/StdLibs.h | |
=================================================================== | |
--- include/hx/StdLibs.h (revision 559) | |
+++ include/hx/StdLibs.h (working copy) | |
@@ -32,6 +32,7 @@ | |
void __hxcpp_print(Dynamic &inV); | |
void __hxcpp_println(Dynamic &inV); | |
void __trace(Dynamic inPtr, Dynamic inData); | |
+void __hxcpp_stdlibs_boot(); | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<dict> | |
<key>begin</key> | |
<string>\btrace\s*\(</string> | |
<key>end</key> | |
<string>\s*\)</string> | |
<key>name</key> | |
<string>keyword.other.trace.haxe.2</string> | |
</dict> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public class BasicScoreModule implements IScoreModule | |
{ | |
[Bindable] | |
public var score : int; | |
private var _nom : String; | |
private var _viewClass : Class; | |
public function BasicScoreModule() | |
{ | |
_nom = 'basic score'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public function zeroPad(number:int, width:int):String { | |
var ret:String = ""+number; | |
while( ret.length < width ) | |
ret="0" + ret; | |
return ret; | |
} | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var curr_doc = fl.getDocumentDOM(); | |
fl.getDocumentDOM().library.selectAll(); | |
for(i=0 ; i<curr_doc.selection.length ; i++ ) { | |
curr_doc.selection[i].x = Math.round(curr_doc.selection[i].x); | |
curr_doc.selection[i].y = Math.round(curr_doc.selection[i].y); | |
} |
NewerOlder