mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2025-09-11 21:15:30 -04:00

Libraries (box_lib, buf2d, libimg, tinygl): optimize function import Programs updated: - gears, test3, test_glu1, test_glu2, - test_array1, textures0, textures1, textures2, - ctrldemo, editbox_ex, crypt_files, img_transform, - scrshoot, t_edit, cnc_control, cnc_editor Reviewed-on: https://git.kolibrios.org/KolibriOS/kolibrios/pulls/231 Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com> Reviewed-by: Ivan B <dunkaist@noreply.localhost> Co-authored-by: IgorA <aie85playm@gmail.com> Co-committed-by: IgorA <aie85playm@gmail.com>
20 lines
210 B
PHP
20 lines
210 B
PHP
align 4
|
|
import_buf2d:
|
|
|
|
macro E_LIB n
|
|
{
|
|
if n eq lib_init
|
|
dd strz_#n
|
|
else if defined sz_#n
|
|
n dd sz_#n
|
|
end if
|
|
}
|
|
include 'export.inc'
|
|
dd 0,0
|
|
macro E_LIB n
|
|
{
|
|
if used n
|
|
sz_#n db `n,0
|
|
end if
|
|
}
|
|
include 'export.inc' |