Add arr and Update version

This commit is contained in:
vCaesar 2017-05-12 21:12:06 +08:00
parent f311cf8810
commit 8971a84514
3 changed files with 28 additions and 2 deletions

View File

@ -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
View 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;
// }

View File

@ -32,7 +32,7 @@ void aCloseWindow(void){
CloseWin();
}
bool aSetHandle (uintptr handle){
bool aSetHandle(uintptr handle){
bool hwnd = setHandle(handle);
return hwnd;
}