Skip to content

Instantly share code, notes, and snippets.

View ddobrev's full-sized avatar

Dimitar Dobrev ddobrev

View GitHub Profile
template<typename TypeLoc>
std::vector<CppSharp::CppParser::TemplateArgument>
Parser::WalkTemplateArgumentList(const clang::TemplateArgumentList* TAL,
TypeLoc* TSTL)
{
using namespace clang;
auto params = std::vector<CppSharp::CppParser::TemplateArgument>();
auto typeLocNumArgs = TSTL && TSTL->getTypePtr() ? TSTL->getNumArgs() : 0;
@ddobrev
ddobrev / GSoC_2017_Dimitar_Dobrev.md
Last active August 29, 2017 15:59
Google Summer of Code 2017 - Dimitar Dobrev's final evaluation
title
CppSharp / Continue Mono/.NET bindings for Qt#

Author: Dimitar Dobrev

Summary

This summer was not as successful for QtSharp itself as it was for its underlying generator of CppSharp. There are two main reasons for this.

From e440a33e65d8c1e249ceaa90eaaed9ae4d6263fb Mon Sep 17 00:00:00 2001
From: Dimitar Dobrev <dpldobrev@yahoo.com>
Date: Sun, 1 Mar 2015 20:37:36 +0200
Subject: [PATCH] Worked around a possible crash in design mode caused by a
Visual Studio bug.
Signed-off-by: Dimitar Dobrev <dpldobrev@yahoo.com>
---
src/Vlc.DotNet.Forms/VlcControl.cs | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
@ddobrev
ddobrev / gist:278c71ef757a31721328
Created December 18, 2014 20:13
Fixes the first regression with the default params in QtCore
// in CheckForEnumValue
if ((call != null && call.ReturnType.Type.IsEnum()) ||
literal.Class == StatementClass.BinaryOperator || literal.Class == StatementClass.CXXOperatorCall)
{
string @params = regexFunctionParams.Match(literal.String).Groups[1].Value;