func NewBitmap(w, h int) *Bitmap { var b *Bitmap b = (*Bitmap)(C.al_create_bitmap(C.int(w), C.int(h))) return b }
// Creates a new bitmap. It has a finalizer in place that will let it be automatically // destroyed. func CreateBitmap(w, h int) *Bitmap { return wrapBitmap(C.al_create_bitmap(C.int(w), C.int(h))) }
func CreateBitmap(w, h int32) *Bitmap { return (*Bitmap)(unsafe.Pointer(C.al_create_bitmap(C.int(w), C.int(h)))) }