About: Lua/Lua Reference/Native Function Calls   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

From changeset 864 on, CHDK includes the ability to call Canon Event Procedures and arbitrary machine code functions. Together these are referred to as "native" calls. As of CHDK 1.2, native function calls may be enabled in the miscellaneous menu. Because there are event procedures and other functions which could permanently damage the camera (for example, by erasing the Canon firmware) this feature is disabled by default and cannot be enabled with set_config_value. If you use a third party script which requires this interface, it is your responsibility to verify that it is safe. If a script attempts to use native call functions when they are not enabled, a Lua error will be triggered. You can check whether native calls are enabled from script using get_config_value.

AttributesValues
rdfs:label
  • Lua/Lua Reference/Native Function Calls
rdfs:comment
  • From changeset 864 on, CHDK includes the ability to call Canon Event Procedures and arbitrary machine code functions. Together these are referred to as "native" calls. As of CHDK 1.2, native function calls may be enabled in the miscellaneous menu. Because there are event procedures and other functions which could permanently damage the camera (for example, by erasing the Canon firmware) this feature is disabled by default and cannot be enabled with set_config_value. If you use a third party script which requires this interface, it is your responsibility to verify that it is safe. If a script attempts to use native call functions when they are not enabled, a Lua error will be triggered. You can check whether native calls are enabled from script using get_config_value.
dcterms:subject
abstract
  • From changeset 864 on, CHDK includes the ability to call Canon Event Procedures and arbitrary machine code functions. Together these are referred to as "native" calls. As of CHDK 1.2, native function calls may be enabled in the miscellaneous menu. Because there are event procedures and other functions which could permanently damage the camera (for example, by erasing the Canon firmware) this feature is disabled by default and cannot be enabled with set_config_value. If you use a third party script which requires this interface, it is your responsibility to verify that it is safe. If a script attempts to use native call functions when they are not enabled, a Lua error will be triggered. You can check whether native calls are enabled from script using get_config_value. For applications where enabling native calls in the menu is not practical, you can build CHDK with OPT_FORCE_LUA_CALL_NATIVE=1 set in buildconf.inc Prior to release 1.2, native calls were only available as a compile time option. This feature is only available in Lua, not ubasic. The test script tstcallf.lua can be used to test this functionality, and also serves as an example.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software