#NEWLINE# @ lower_builtin ( 'setitem' , types . CPointer , types . Integer , types . Any ) #NEWLINE# def setitem_cpointer( context , builder , sig , args ) : #NEWLINE# #INDENT# ( base_ptr , idx , val ) = args #NEWLINE# elem_ptr = builder . gep ( base_ptr , [ idx ] ) #NEWLINE# builder . store ( val , elem_ptr )