Skip to content

Commit 55466e8

Browse files
committed
Add hostLoadArray to lsf.i
The return value of ls_load() is an array of hostLoad structures. This means that hostLoad must be converted to an hostLoadArray before being processed. This commit add that structure.
1 parent e456446 commit 55466e8

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

pythonlsf/lsf.i

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ PyObject * string_array_to_pylist(PyObject* ptrobj, int size){
5454

5555
%array_class(struct queueInfoEnt, queueInfoEntArray);
5656
%array_class(struct hostInfoEnt, hostInfoEntArray);
57+
%array_class(struct hostLoad, hostLoadArray);
5758

5859
// handle int arrays
5960
%typemap(in) int [ANY] (int temp[$1_dim0]) {

0 commit comments

Comments
 (0)