From 79399ccd427639eb9db5f57bf053dad8a9ece53f Mon Sep 17 00:00:00 2001 From: ocoursiere Date: Mon, 3 Jun 2013 22:47:43 +0000 Subject: [PATCH] Add a lookup table that associate a C++ type to a Pascal one. --- bepascal/source/tools/codegen/pas/typemap.txt | 133 ++++++++++++++++++ 1 file changed, 133 insertions(+) create mode 100644 bepascal/source/tools/codegen/pas/typemap.txt diff --git a/bepascal/source/tools/codegen/pas/typemap.txt b/bepascal/source/tools/codegen/pas/typemap.txt new file mode 100644 index 0000000..c89ef85 --- /dev/null +++ b/bepascal/source/tools/codegen/pas/typemap.txt @@ -0,0 +1,133 @@ + + +_cmd_key_ *=TCmd_Key +add_state=TAdd_State +app_info *=^TAppInfo +BArchivable *=BArchivable +BButton &=BButton +BButton *=BButton +BControl &=BControl +BControl *=BControl +BDataIO &=BDataIO +BDataIO *=BDataIO +BDirectory *=BDirectory +BEntry &=BEntry +BEntry *=BEntry +BFile *=BFile +BHandler **=BHandler +BHandler *=BHandler +bigtime_t=TBigtime_t +BInvoker &=BInvoker +BInvoker *=BInvoker +BList *=BList +BLooper **=BLooper +BMallocIO &=BMallocIO +BMallocIO *=BMallocIO +BMemoryIO &=BMemoryIO +BMemoryIO *=BMemoryIO +BMenu &=BMenu +BMenu **=BMenu +BMenu *=BMenu +BMenuBar &=BMenuBar +BMenuBar *=BMenuBar +BMenuItem &=BMenuItem +BMenuItem **=BMenuItem +BMenuItem *=BMenuItem +BMenuWindow *=BMenuWindow +BMessage *=BMessage +BMessenger &=BMessenger +BMessenger *=BMessenger +BMessenger=BMessenger +BMimeType *=BMimeType +BNodeInfo *=BNodeInfo +bool *=boolean +bool=boolean +BPath &=BPath +BPath *=BPath +BPoint *=BPoint +BPoint=BPoint +BPositionIO *=BPositionIO +BRect *=BRect +BRect=BRect +BRoster *=BRoster +BSeparatorItem &=BSeparatorItem +BSeparatorItem *=BSeparatorItem +BSerialPort *=BSerialPort +BView *=BView +BWindow &=BWindow +BWindow *=BWindow +char **=PChar +char *=PChar +char=Char +color_space=TColor_Space +const BButton &=BButton +const BControl &=BControl +const BDataIO &=BDataIO +const BDirectory *=BDirectory +const BEntry &=BEntry +const BEntry *=BEntry +const BHandler *=BHandler +const BInvoker &=BInvoker +const BList *=BList +const BLooper *=BLooper +const BMallocIO &=BMallocIO +const BMemoryIO &=BMemoryIO +const BMenu &=BMenu +const BMenuBar &=BMenuBar +const BMenuItem &=BMenuItem +const BMessage *=BMessage +const BMessenger &=BMessenger +const BPath &=BPath +const BSeparatorItem &=BSeparatorItem +const BWindow *=BWindow +const char **=PChar +const char *=PChar +const char *const *=PChar +const entry_ref &=entry_ref +const entry_ref *=PTEntryRef +const void *=Pointer +data_bits=TDatabits +data_rate=TDataRate +dev_t=devt_t +drawing_mode=TDrawing_Mode +entry_ref &=entry_ref +entry_ref *=PTEntryRef +float *=double +float=double +ino_t=ino_t +int *=integer +int32 *=^integer +int32=integer +int=integer +long=integer +menu_bar_border=TMenu_Bar_Border +menu_info *=PMenu_Info +menu_layout=TMenu_Layout +menu_tracking_hook=TMenu_Tracking_Hook +mtarget= +off_t=Toff_t +parity_mode=TParityMode +perform_code=TPerform_code +port_id=TPort_id +size_t=TSize_t +ssize_t=TSSize_t +status_t *=PStatus_t +status_t=TStatus_t +stop_bits=TStopbits +struct stat &=stat +struct stat *=stat +team_id *=^TTeam_id +team_id=TTeam_id +thread_id=TThread_id +type_code=type_code +uint32 *=Cardinal +uint32=Cardinal +void *=Pointer +void= +window_alignment *=PCardinal +window_alignment=Cardinal +window_feel *=PCardinal +window_feel=Cardinal +window_look *=PCardinal +window_look=PCardinal +window_type=Cardinal