Skip to content

Commit

Permalink
refc
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey-T committed Dec 30, 2016
1 parent 27c4041 commit 767ed1d
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 12 deletions.
12 changes: 3 additions & 9 deletions app/formmain_py.inc
Original file line number Diff line number Diff line change
Expand Up @@ -2993,14 +2993,6 @@ begin
end;


type
TTreeEnumItem = record
Id: PtrInt;
Text: string;
end;
TTreeEnumArray = array of TTreeEnumItem;

//tree_proc(id_tree, id_action, id_item, index, text, icon)
function Py_tree_proc(Self, Args: PPyObject): PPyObject; cdecl;
var
IdTree, IdItem: Int64;
Expand Down Expand Up @@ -3042,7 +3034,9 @@ begin
raise EPythonError.Create(cPythonListError);
for i:= 0 to ItemList.Count-1 do
PyList_SetItem(Result, i,
Py_BuildValue('(Ls)', Int64(ItemList[i]), PChar(TTreeNode(ItemList[i]).Text) ));
Py_BuildValue('(Ls)',
Int64(PtrInt(ItemList[i])),
PChar(TTreeNode(ItemList[i]).Text) ));
finally
FreeAndNil(ItemList);
end;
Expand Down
2 changes: 1 addition & 1 deletion app/proc_msg.pas
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ interface
Classes, SysUtils;

const
cAppExeVersion = '1.6.0.2';
cAppExeVersion = '1.6.0.3';
cAppApiVersion = '1.0.162';

const
Expand Down
2 changes: 1 addition & 1 deletion setup/cuda_ver.sh
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
cuda_ver=1.6.0.2
cuda_ver=1.6.0.3
2 changes: 1 addition & 1 deletion setup/debfiles/control
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Package: cudatext
Version: 1.6.0.2-1
Version: 1.6.0.3-1
Section: editors
Priority: optional
Architecture: amd64
Expand Down

0 comments on commit 767ed1d

Please sign in to comment.