Skip to content

Instantly share code, notes, and snippets.

View tritao's full-sized avatar
🎯
Focusing

João Matos tritao

🎯
Focusing
  • Portugal
View GitHub Profile
#define EN 8 // stepper motor enable , active low
#define X_DIR 5 // X -axis stepper motor direction control
#define Y_DIR 6 // y -axis stepper motor direction control
#define Z_DIR 7 // z axis stepper motor direction control
#define X_STP 2 // x -axis stepper control
#define Y_STP 3 // y -axis stepper control
#define Z_STP 4 // z -axis stepper control
/*
// Function : step . function: to control the direction of the stepper motor , the number of steps .
// Parameters : dir direction control , dirPin corresponding stepper motor DIR pin , stepperPin corresponding stepper motor " step " pin , Step number of step of no return value.
MCS [xammac] Mono.Security.dll
./Mono.Security.Protocol.Tls.Handshake.Client/TlsServerCertificate.cs(36,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/ServerContext.cs(31,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslClientStream.cs(35,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslServerStream.cs(34,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assembly reference?
./Mono.Security.Protocol.Tls/SslStreamBase.cs(34,21): error CS0234: The type or namespace name `Interface' does not exist in the namespace `Mono.Security'. Are you missing an assemb
From 2b61ca8972652cc671c09112577f7eec38074855 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Joa=CC=83o=20Matos?= <[email protected]>
Date: Tue, 2 Jun 2015 18:17:51 +0100
Subject: [PATCH] WIP char**
---
build/Helpers.lua | 4 ++--
src/AST/TypeExtensions.cs | 15 +++++++++++++++
src/Generator/Generators/CSharp/CSharpMarshal.cs | 21 +++++++++++++--------
.../Generators/CSharp/CSharpTextTemplate.cs | 16 +++++-----------
From 5a39d7a685fcef060719fe9c11ed6a7776397db0 Mon Sep 17 00:00:00 2001
From: triton <[email protected]>
Date: Mon, 30 Mar 2015 23:43:36 +0100
Subject: [PATCH 2/2] Started adding support for explicit interfaces.
---
src/Generator/Generators/CSharp/CSharpTextTemplate.cs | 19 +++++++++++--------
src/Generator/Passes/CheckMacrosPass.cs | 6 ++++++
tests/Basic/Basic.Tests.cs | 16 ++++++++++++++++
tests/Basic/Basic.cpp | 5 +++++
static string GetXcodeToolchainPath()
{
var toolchains = Directory.EnumerateDirectories("/Applications", "Xcode*")
.ToList();
toolchains.Sort();
var toolchainPath = toolchains.LastOrDefault();
if (toolchainPath == null)
throw new Exception("Could not find a valid Xcode SDK");
F:\mono>Program.exe
8 -2147483648
8 -2147483648
F:\mono>CorFlags /nologo /32BITREQ+ Program.exe
F:\mono>Program.exe
4 -2147483648
4 -2147483648
From 86f6c4a987bfccd2f7db022bd3e76bc64616e5bd Mon Sep 17 00:00:00 2001
From: triton <[email protected]>
Date: Sat, 17 Jan 2015 00:25:08 +0000
Subject: [PATCH 2/2] Added basic support for MI offsets.
---
src/AST/Function.cs | 3 +-
src/AST/Method.cs | 3 +
.../Generators/CSharp/CSharpTextTemplate.cs | 5 +-
src/Generator/Passes/MultipleInheritancePass.cs | 94 +++++++++++++++++++---
// --- MI
struct DLL_API MI_A0
{
MI_A0();
int get();
int F;
};
MI_A0::MI_A0() : F(50) {}
From e0aba7a0bcf3035c7fae9c28d4507378fcd97b22 Mon Sep 17 00:00:00 2001
From: triton <[email protected]>
Date: Fri, 24 Oct 2014 23:10:43 +0100
Subject: [PATCH 2/2] Improved the ABI support.
---
src/CppParser/Parser.cpp | 37 ++++++++++++++++++++++++++++++++-----
1 file changed, 32 insertions(+), 5 deletions(-)
diff --git a/src/CppParser/Parser.cpp b/src/CppParser/Parser.cpp
diff --git a/bin/cs/AlphaTab.Core/AlphaTab.Core.csproj b/bin/cs/AlphaTab.Core/AlphaTab.Core.csproj
index a98ed35..fb81dcf 100644
--- a/bin/cs/AlphaTab.Core/AlphaTab.Core.csproj
+++ b/bin/cs/AlphaTab.Core/AlphaTab.Core.csproj
@@ -248,6 +248,7 @@
<Compile Include="src\cs\io\NativeOutput.cs" />
<Compile Include="src\cs\Lib.cs" />
<Compile Include="src\EReg.cs" />
+ <Compile Include="src\haxe\Constraints.cs" />
<Compile Include="src\haxe\ds\IntMap.cs" />