aboutsummaryrefslogtreecommitdiffstats
path: root/Godeps/_workspace/src/gopkg.in/qml.v1/cdata/cdata12.c
blob: 2e60abfa243fc8688fbfc6e3a9a58b7694d3580e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// +build !go1.4

#include "runtime.h"

void ·Ref(uintptr ref) {
    ref = (uintptr)g->m;
    FLUSH(&ref);
}

void runtime·main(void);
void main·main(void);

void ·Addrs(uintptr rmain, uintptr mmain) {
    rmain = (uintptr)runtime·main;
    mmain = (uintptr)main·main;
    FLUSH(&rmain);
    FLUSH(&mmain);
}