mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-07-25 16:15:53 +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
|
@ -2065,7 +2065,7 @@ id.Dependency = DEPENDENCY_AUDIO_OUT ' QB64-PE library dependency
|
|||
id.subfunc = 1 ' 1 = function, 2 = sub
|
||||
id.callname = "func__sndnew" ' C/C++ function name
|
||||
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.hr_syntax = "_SNDNEW(frames&, channels&, bits&)" ' syntax help
|
||||
regid
|
||||
|
@ -3918,9 +3918,9 @@ id.n = qb64prefix$ + "ColorChooserDialog" ' Name in CaMeL case
|
|||
id.subfunc = 1 ' 1 = function, 2 = sub
|
||||
id.callname = "func__guiColorChooserDialog" ' C/C++ function name
|
||||
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.ret = LONGTYPE - ISPOINTER ' return type for functions
|
||||
id.ret = ULONGTYPE - ISPOINTER ' return type for functions
|
||||
id.hr_syntax = "_COLORCHOOSERDIALOG&(title$[, defaultRGB&])" ' syntax help
|
||||
regid
|
||||
|
||||
|
|
Loading…
Reference in a new issue