Skip to content

Commit d06d41f

Browse files
committed
release v1.13.3 and packages
1 parent 701006c commit d06d41f

File tree

6 files changed

+490
-469
lines changed

6 files changed

+490
-469
lines changed

package/PikaCV/PikaCV_Image.c

+2
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,8 @@ void PikaCV_Image_read(PikaObj* self, char* path) {
125125
}
126126
Arg* data_arg = arg_loadFile(NULL, path);
127127
if (NULL == data_arg) {
128+
pika_platform_printf("PikaCV_Image_read: failed to load file: %s\n",
129+
path);
128130
return;
129131
}
130132
Args buffs = {0};

package/flashdb/fdb_cfg.h

-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
* @brief configuration file
1010
*/
1111

12-
1312
#ifndef _FDB_CFG_H_
1413
#define _FDB_CFG_H_
1514

package/i18n/i18n.pyi

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
2+
def _(strid: str) -> str:...

package/i18n/pika_i18n.c

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
#include "i18n.h"
2+
3+
char* i18n__(PikaObj* self, char* strid) {
4+
return strid;
5+
}

package/mqtt/_mqtt__MQTT.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ PikaEventListener* g_mqtt_event_listener = NULL;
1212

1313
void Subscribe_Handler(void* client, message_data_t* msg);
1414

15-
const uint32_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088;
15+
const uintptr_t MQTT_RECONNECTION_EVENT_ID = 0xFFAA0088;
1616

1717
void _mqtt__MQTT___init__(PikaObj* self,
1818
char* ip,
@@ -448,7 +448,7 @@ int _mqtt__MQTT_subscribe(PikaObj* self, char* topic, Arg* cb, int qos) {
448448
if (NULL == g_mqtt_event_listener) {
449449
pika_eventListener_init(&g_mqtt_event_listener);
450450
}
451-
uint32_t eventId = hash_time33(topic_str);
451+
uintptr_t eventId = hash_time33(topic_str);
452452
// __platform_printf("hash_time33(topic_str):%d
453453
// \r\n",hash_time33(topic_str));
454454
pika_eventListener_registEventCallback(g_mqtt_event_listener,
@@ -552,7 +552,7 @@ int _mqtt__MQTT_setDisconnectHandler(PikaObj* self, Arg* cb) {
552552
if (NULL == g_mqtt_event_listener) {
553553
pika_eventListener_init(&g_mqtt_event_listener);
554554
}
555-
// uint32_t eventId = hash_time33(topic_str);
555+
// uintptr_t eventId = hash_time33(topic_str);
556556
// __platform_printf("hash_time33(topic_str):%d
557557
// \r\n",hash_time33(topic_str));
558558
pika_eventListener_registEventHandler(g_mqtt_event_listener,

0 commit comments

Comments
 (0)