mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 06:33:56 +00:00
Add arr and Update version
This commit is contained in:
parent
f311cf8810
commit
8971a84514
@ -52,7 +52,7 @@ import (
|
||||
)
|
||||
|
||||
const (
|
||||
version string = "v0.43.0.306, Matterhorn Alps!"
|
||||
version string = "v0.43.0.314, Matterhorn Alps!"
|
||||
)
|
||||
|
||||
// GetVersion get version
|
||||
|
26
window/arr.h
Normal file
26
window/arr.h
Normal file
@ -0,0 +1,26 @@
|
||||
// #include <stdio.h>
|
||||
// #include <stdlib.h>
|
||||
// #include <stdbool.h>
|
||||
|
||||
struct Arr{
|
||||
int len;
|
||||
int cnu;
|
||||
char** pName;
|
||||
int *pId;
|
||||
};
|
||||
|
||||
// int init_Arr(struct Arr *pArray, int len){
|
||||
// pArray->pName = (char**)malloc(sizeof(char*)*len);
|
||||
// pArray->pId = (int*)malloc(sizeof(int)*len);
|
||||
// if(NULL == pArray->pName){
|
||||
// printf("false \n");
|
||||
// return 1;
|
||||
// }else{
|
||||
// pArray->len = len;
|
||||
// pArray->cnu = 0;
|
||||
// printf("true %d \n", pArray->len);
|
||||
// return 0;
|
||||
// }
|
||||
|
||||
// return 0;
|
||||
// }
|
@ -32,7 +32,7 @@ void aCloseWindow(void){
|
||||
CloseWin();
|
||||
}
|
||||
|
||||
bool aSetHandle (uintptr handle){
|
||||
bool aSetHandle(uintptr handle){
|
||||
bool hwnd = setHandle(handle);
|
||||
return hwnd;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user