mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-07 15:20:18 +00:00
Merge pull request #304 from a740g/main
Tiny PR that corrects the arg. count for _SNDNEW and type for _COLORCHOOSERDIALOG
This commit is contained in:
commit
75db7abd59
1 changed files with 3 additions and 3 deletions
|
@ -2065,7 +2065,7 @@ id.Dependency = DEPENDENCY_AUDIO_OUT ' QB64-PE library dependency
|
||||||
id.subfunc = 1 ' 1 = function, 2 = sub
|
id.subfunc = 1 ' 1 = function, 2 = sub
|
||||||
id.callname = "func__sndnew" ' C/C++ function name
|
id.callname = "func__sndnew" ' C/C++ function name
|
||||||
id.args = 3 ' number of arguments "passed"
|
id.args = 3 ' number of arguments "passed"
|
||||||
id.arg = MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) ' arguments & types
|
id.arg = MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) ' arguments & types
|
||||||
id.ret = LONGTYPE - ISPOINTER ' return type for functions
|
id.ret = LONGTYPE - ISPOINTER ' return type for functions
|
||||||
id.hr_syntax = "_SNDNEW(frames&, channels&, bits&)" ' syntax help
|
id.hr_syntax = "_SNDNEW(frames&, channels&, bits&)" ' syntax help
|
||||||
regid
|
regid
|
||||||
|
@ -3918,9 +3918,9 @@ id.n = qb64prefix$ + "ColorChooserDialog" ' Name in CaMeL case
|
||||||
id.subfunc = 1 ' 1 = function, 2 = sub
|
id.subfunc = 1 ' 1 = function, 2 = sub
|
||||||
id.callname = "func__guiColorChooserDialog" ' C/C++ function name
|
id.callname = "func__guiColorChooserDialog" ' C/C++ function name
|
||||||
id.args = 2 ' number of arguments - "passed"
|
id.args = 2 ' number of arguments - "passed"
|
||||||
id.arg = MKL$(STRINGTYPE - ISPOINTER) + MKL$(LONGTYPE - ISPOINTER) ' arguments & types
|
id.arg = MKL$(STRINGTYPE - ISPOINTER) + MKL$(ULONGTYPE - ISPOINTER) ' arguments & types
|
||||||
id.specialformat = "?[,?]" ' special format (optional in [])
|
id.specialformat = "?[,?]" ' special format (optional in [])
|
||||||
id.ret = LONGTYPE - ISPOINTER ' return type for functions
|
id.ret = ULONGTYPE - ISPOINTER ' return type for functions
|
||||||
id.hr_syntax = "_COLORCHOOSERDIALOG&(title$[, defaultRGB&])" ' syntax help
|
id.hr_syntax = "_COLORCHOOSERDIALOG&(title$[, defaultRGB&])" ' syntax help
|
||||||
regid
|
regid
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue