This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdint.h> | |
#include <ui.h> | |
#ifdef __unix__ | |
#include <unix/uipriv_unix.h> | |
#include <unix/attrstr.h> | |
#include <gtk/gtk.h> | |
struct uiLabel { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
void | |
gimp_label_set_attributes (GtkLabel *label, | |
...) | |
{ | |
PangoAttribute *attr = NULL; | |
PangoAttrList *attrs; | |
va_list args; | |
g_return_if_fail (GTK_IS_LABEL (label)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define JSON_OBJ '{' | |
#define JSON_ARR '[' | |
#define JSON_STR 's' | |
#define JSON_NUM 'n' | |
#define JSON_END_OBJ '}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#define JSON_OBJ '{' | |
#define JSON_ARR '[' | |
#define JSON_STR 's' | |
#define JSON_NUM 'n' | |
#define JSON_END_OBJ '}' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
QuerySizeOfTransparentMemory | |
Require data phase == 0x40 bytes | |
struct { | |
uint8_t size; | |
char name[16]; | |
uint32_t res0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// From gphoto ptp.h | |
#define PTP_OC_FUJI_InitiateMovieCapture 0x9020 | |
#define PTP_OC_FUJI_TerminateMovieCapture 0x9021 | |
#define PTP_OC_FUJI_GetCapturePreview 0x9022 | |
#define PTP_OC_FUJI_StepZoom 0x9023 | |
#define PTP_OC_FUJI_StartZoom 0x9024 | |
#define PTP_OC_FUJI_StopZoom 0x9025 | |
#define PTP_OC_FUJI_LockS1Lock 0x9026 | |
#define PTP_OC_FUJI_UnlockS1Lock 0x9027 | |
#define PTP_OC_FUJI_GetDeviceInfo 0x902B |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Xpro-1 | |
#define FIRM_USB_SCREEN 0x00457d98 | |
#define FIRM_IMG_PROPS 0x00438fbc | |
#define FIRM_RST_CONFIG1 0x00432574 | |
#define FIRM_RST_CONFIG2 0x0045d250 | |
#define FIRM_RST_WRITE 0x00455aec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <stdint.h> | |
#include <stdlib.h> | |
#include <string.h> | |
// #include <camlib.h> | |
// #include <ptpbackend.h> | |
// #include <ptp.h> | |
// #include <operations.h> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
NSTUB(get_flash_section, 0x005f563c) | |
// foo | |
NSTUB(flash_load, 0x0063e03c) | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdint.h> | |
#include <fujifilm.h> |
NewerOlder