@@ -31,6 +31,7 @@ THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
31
32
32
#include "pythontarget.h"
33
33
#include "core/util.h"
34
+ #include "core/tag.h"
34
35
35
36
//////////// set Function(s) /////////////
36
37
/**
@@ -193,37 +194,35 @@ static PyObject* py_schedule_copy(PyObject *self, PyObject *args) {
193
194
* Return the elapsed physical time in nanoseconds.
194
195
*/
195
196
static PyObject * py_get_elapsed_logical_time (PyObject * self , PyObject * args ) {
196
- return PyLong_FromLong (get_elapsed_logical_time ());
197
+ return PyLong_FromLongLong (get_elapsed_logical_time ());
197
198
}
198
199
199
200
/**
200
201
* Return the elapsed physical time in nanoseconds.
201
202
*/
202
203
static PyObject * py_get_logical_time (PyObject * self , PyObject * args ) {
203
- return PyLong_FromLong (get_logical_time ());
204
+ return PyLong_FromLongLong (get_logical_time ());
204
205
}
205
206
206
207
/**
207
208
* Return the elapsed physical time in nanoseconds.
208
209
*/
209
210
static PyObject * py_get_physical_time (PyObject * self , PyObject * args ) {
210
- return PyLong_FromLong (get_physical_time ());
211
+ return PyLong_FromLongLong (get_physical_time ());
211
212
}
212
213
213
214
/**
214
215
* Return the elapsed physical time in nanoseconds.
215
216
*/
216
- instant_t get_elapsed_physical_time ();
217
217
static PyObject * py_get_elapsed_physical_time (PyObject * self , PyObject * args ) {
218
- return PyLong_FromLong (get_elapsed_physical_time ());
218
+ return PyLong_FromLongLong (get_elapsed_physical_time ());
219
219
}
220
220
221
221
/**
222
222
* Return the start time in nanoseconds.
223
223
*/
224
- instant_t get_start_time ();
225
224
static PyObject * py_get_start_time (PyObject * self , PyObject * args ) {
226
- return PyLong_FromLong (get_start_time ());
225
+ return PyLong_FromLongLong (get_start_time ());
227
226
}
228
227
229
228
/**
@@ -1004,7 +1003,7 @@ get_python_function(string module, string class, int instance_id, string func) {
1004
1003
1005
1004
Py_SetPath (wcwd );
1006
1005
1007
- DEBUG_PRINT ("Loading module %s in %s." , module , cwd );
1006
+ DEBUG_PRINT ("Loading module %s in %s." , module , cwd );
1008
1007
1009
1008
pModule = PyImport_Import (pFileName );
1010
1009
0 commit comments