Exemple #1
0
func newNum(t *gcc.FundamentalType) *Num {
	return newNum_(
		goNumMap[gcc.NumInfoFromGccName(t.CName())],
		gcc.NumCgoNameFromGccName(t.CName()),
		t.Size())
}
Exemple #2
0
func newNum(t *gcc.FundamentalType) Conv {
	return Simple{namer{
		goName:  goNumMap[gcc.NumInfoFromGccName(t.CName())],
		cgoName: gcc.NumCgoNameFromGccName(t.CName()),
	}}
}