Goals:
- Minimal dependencies
- Complementary to sqlite C API, rather than a wrapper for it
- Provides type safety
- SQL must be modifiable later
- It should be easy to check that ABI hasn't broken
#include "econtext.h" | |
__thread std::vector<ExceptionContextItem> currentContext; | |
typedef void (*cxa_throw_type)(void *, void *, void (*) (void *)); | |
static cxa_throw_type orig_cxa_throw = 0; | |
static void load_orig_throw_code() | |
{ | |
orig_cxa_throw = (cxa_throw_type) dlsym(RTLD_NEXT, "__cxa_throw"); |
Goals:
#!/bin/sh | |
git svn clone -s --prefix=googlecode/ http://tesseract-ocr.googlecode.com/svn tesseract-svn | |
rsync -av tesseract-ocr.cvs.sourceforge.net::cvsroot/tesseract-ocr/tesseract/ cvs-clone/ | |
git init tesseract-cvs --bare | |
(cd cvs-clone && find . -name '*,v' -print | cvs-fast-export -k | sed 's/.gitignore/.cvsignore/g') | (cd tesseract-cvs && git fast-import) | |
cd tesseract-svn | |
svn_import_sha=$(git log --grep 'trunk@4 ' --oneline | cut -f1 -d' ') | |
git fetch ../tesseract-cvs |
[DBus (name = "com.example.VideoSource")] | |
interface VideoSource : GLib.Object { | |
public abstract string caps { owned get; } | |
public abstract GLib.UnixInputStream attach () throws Error; | |
} | |
void run() throws Error | |
{ | |
VideoSource demo = Bus.get_proxy_sync ( |
#!/usr/bin/python | |
import argparse | |
import errno | |
import json | |
import os | |
import shutil | |
import subprocess | |
import sys | |
import tempfile |
Blhh |