Changeset 709 for trunk/core/luascript.c


Ignore:
Timestamp:
02/14/09 09:53:20 (4 years ago)
Author:
phyrephox
Message:

cleaning the bugtracker a bit...
s2is - remote should work as advertised now (fatal, #223)
makefiles - fixed the slashes on topdir (whim, #225)
finnish.lng - update (mikko70, #227)
lua - new command to switch custom curve state (msl, #226)
bugtracker url: https://chdk.kernreaktor.org
happy valentines day XOXO (lol)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/luascript.c

    r687 r709  
    1313#include "raw.h" 
    1414#include "raw_merge.h" 
     15#include "curves.h" 
     16 
     17static int luaCB_set_curve_state( lua_State* L ) 
     18{ 
     19  int value; 
     20  value=luaL_checknumber( L, 1 ); 
     21  curve_set_mode(value); 
     22  return 0; 
     23} 
     24 
    1525 
    1626static int luaCB_set_aflock(lua_State* L)  
     
    10051015  FUNC(set_backlight); 
    10061016   FUNC(set_aflock); 
    1007 } 
     1017   FUNC(set_curve_state); 
     1018} 
Note: See TracChangeset for help on using the changeset viewer.