Update C sources, add new functions and rename package to

This commit is contained in:
Milan Nikolic 2018-10-08 18:56:34 +02:00
parent 391c25482d
commit 08aa518a46
156 changed files with 34542 additions and 19573 deletions

View file

@ -1,4 +1,4 @@
package raylib
package rl
/*
#include "raylib.h"
@ -17,9 +17,9 @@ func (s *Font) cptr() *C.Font {
return (*C.Font)(unsafe.Pointer(s))
}
// GetDefaultFont - Get the default Font
func GetDefaultFont() Font {
ret := C.GetDefaultFont()
// GetFontDefault - Get the default Font
func GetFontDefault() Font {
ret := C.GetFontDefault()
v := newFontFromPointer(unsafe.Pointer(&ret))
return v
}