Progress on HL GC bindings

This commit is contained in:
Joshua Granick
2018-06-18 14:26:37 -07:00
parent 41044e641e
commit 1141005ae3
3 changed files with 2527 additions and 9 deletions

View File

@@ -1175,7 +1175,7 @@ namespace lime {
}
HL_PRIM vdynobj* hl_lime_font_get_glyph_metrics (HL_CFFIPointer* fontHandle, int index) {
HL_PRIM vdynamic* hl_lime_font_get_glyph_metrics (HL_CFFIPointer* fontHandle, int index) {
// #ifdef LIME_FREETYPE
// Font *font = (Font*)fontHandle->ptr;
@@ -1446,7 +1446,7 @@ namespace lime {
}
HL_PRIM vdynobj* hl_lime_font_outline_decompose (HL_CFFIPointer* fontHandle, int size) {
HL_PRIM vdynamic* hl_lime_font_outline_decompose (HL_CFFIPointer* fontHandle, int size) {
// #ifdef LIME_FREETYPE
// Font *font = (Font*)fontHandle->ptr;
@@ -3017,7 +3017,7 @@ namespace lime {
}
HL_PRIM vdynobj* hl_lime_system_get_display (int id) {
HL_PRIM vdynamic* hl_lime_system_get_display (int id) {
return 0;
//return System::GetDisplay (id);

View File

@@ -238,7 +238,7 @@ namespace lime {
const int id_pixels = hl_hash_utf8 ("pixels");
const int id_pitch = hl_hash_utf8 ("pitch");
vdynamic* result = (vdynamic*)hl_alloc_dynobj ();
vdynamic* result = hl_alloc_dynamic (&hlt_dynobj);
if (SDL_LockTexture (sdlTexture, NULL, &pixels, &pitch) == 0) {

File diff suppressed because it is too large Load Diff